vim-markdown-indent : Indents Markdown lists and enums and that's it
script karma |
Rating 4/1,
Downloaded by 243 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Sergei Mironov |
|
script type |
indent |
|
description |
The script indents Markdown lists and enumerations in the following way:
``` markdown
1. Numbered list, press enter ...
. `<--` cursor goes here.
2. Press enter and then continue the list by typing `3. ` ...
3. The plugin adjusts the indentation by shifting the line to the left.
1. But if we type `1.` the plugin would treat it as a nested list.
2. So we can continue.
* The same works for itemized lists. Typing `*` in the next line instructs
plugin to shift the line to the left.
* But typing the list bullet other than the current one, say `-`, ...
- makes a nested list start.
- All the above works for
multi
line
- list items
```
For other options and the testing script, please check the Github repository:
https://github.com/sergei-mironov/vim-markdown-indent
|
|
install details |
Copy the contents of the tarball into the ~/.vim tree. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.9.175
|