Markdown Numbered Headers
sublime text3 plugin for markdown, auto insert/update/remove header numbers
Details
Installs
- Total 2K
- Win 935
- Mac 608
- Linux 308
Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
MD_numbered_headers
sublime text3 plugiin for markdown, auto insert/update/remove header numbers
inspired by MarkdownTOC, compatible with MarkdownTOC.
1. install
Preferences -> Browse Packages…
git clone https://github.com/weituotian/md_numbered_headers.git
then is ok
2. Quick Start
- Install the plugin
- Open your Markdown file
- Place the cursor at the position where you want to start to numbers headers
- Pick from menu: Tools > Markdown Numbered Headers > Insert / Update
- And the heders in the Markdown document was numbered
- Save the document and you are done
- Now you can go on and edit your document further
3. Configuration
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- |
4. changelog
- v1.2.0 thanks to Kristinita, now we can ignores the code blocks between the triple and quadruple backticks
- v1.0.3 the plugin in the Package Controll, may be older then the lastest