Comments (1)
hi @KeesCBakker
I am glad you like the extension.
This extension only provides keyboard shortcuts to existing markdown snippets. It is not the objective of the extension to add snippets or more functionality beyond that.
The insert unordered list
snippet is a builtin snippet (found here) that has the functionality you are using . This snippet only inserts a new list. This is the actual snippet:
"Insert unordered list": {
"prefix": "unordered list",
"body": [
"- ${1:first}",
"- ${2:second}",
"- ${3:third}",
"$0"
],
"description": "Insert unordered list"
},
It is not possible for a snippet to read the text from the clipboard and tokenize the text to insert a dash before each line. You need to write some JS/TS code for this functionality.
I wrote another extension called Marky Edit that provides more advanced markdown editing functionality such as this. I suggest you try that instead. It has a Marky Edit: Toggle Unordered List (Bulleted List)
that provides the functionality you desire. However, you will need to add your own keyboard shortcuts to these commands yourself to use them in the same way.
All the best
Rob
from vscode-markdown-shortcuts.
Related Issues (6)
- Please consider keeping the supported vscode engine in package.json as low as possible to have bigger audience HOT 2
- Documentation reports a different key binding for 'Insert fenced code block' HOT 1
- A small change to the snippet of "Insert code" for more convenience HOT 1
- this is not issue!
- Shortcut for italics not working when no text selected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-markdown-shortcuts.