sublime text3 plugiin for markdown, auto insert/update/remove header numbers
inspired by MarkdownTOC, compatible with MarkdownTOC.
Preferences -> Browse Packages...
git clone https://github.com/weituotian/md_numbered_headers.git
then is ok
You can use attributes to customize headres nums in a single Markdown document, but if you want to keep the same configuration accross multiple Markdown documents, you can configure your own defaults.
Pick: `Sublime Text > Preferences > Package Settings > Markdown Numbered Headers > Settings - User
Example: MarkdownNumberedHeaders.sublime-settings
{
"h1": 0,
"h2": 0,
"h3": 0,
"h4": 0,
"h5": 0,
"h6": 0,
"depth":6,
"dottype":"-",
"logging": true,
"last_number_dot":"."
}
Name | Values | default | means |
---|---|---|---|
h1,h2,h3,h4,h5,h6 | integer | 0 | the start counting num in each num |
depth | integer | 6 | define which header level start with |
dottype | string | - | use to Separate header nums,like 1-2-3 |
logging | boolean | true | show the runtime log |
last_number_dot | string | . | the last dot type, like 1-2-3. or 1-2-3- |