Markdown Table Formatter
Sublime Text 3 plugin for formatting markdown table (inspired by Atom's MarkdownTableFormatter)
Details
Installs
- Total 15K
- Win 6K
- Mac 6K
- Linux 3K
Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 3 | 0 | 1 | 0 | 1 | 1 | 3 | 3 | 2 | 0 | 0 | 2 | 0 | 3 | 1 | 1 | 1 | 0 | 2 | 0 | 2 | 0 | 1 | 0 | 1 | 0 | 2 | 1 | 0 | 2 | 0 | 0 | 2 | 2 | 0 | 1 | 0 | 0 | 0 | 2 | 1 | 1 |
Mac | 0 | 0 | 1 | 0 | 2 | 1 | 0 | 1 | 2 | 1 | 1 | 1 | 1 | 1 | 0 | 2 | 2 | 2 | 1 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 2 | 1 | 0 | 2 | 1 | 2 |
Linux | 0 | 1 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 1 | 2 | 2 | 1 | 0 | 1 | 2 | 2 | 2 | 0 | 1 | 0 | 1 | 0 | 2 | 1 | 0 | 1 | 1 | 0 | 0 | 2 | 0 | 0 | 1 | 0 | 1 | 1 | 2 | 0 | 1 | 1 | 1 | 0 | 3 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
Markdown Table Formatter
Sublime Text 3 markdown plugin that offers table formatting.
Inspired by the Atom's version from fcrespo82 (Fernando).
markdowntableformatter[at]gmail[.]com
Usage
There are two basic ways of using this plugin. Select what you want to format and hit Ctrl+Alt+Shift+T or use the same shortcut without selection to format the entire document.
Configuration
{
// make plugin verbose in debug console
"verbose": false,
// scan document to format tables when saving
"autoformat_on_save": false,
// spaces between "|" and cell's text
"margin": 1,
// additional spaces before/after cell's text (depending on justification)
"padding": 0,
// how text should be justified when not specified [LEFT, RIGHT, CENTER]
"default_justification": "LEFT"
}
Proper formatting
To be recognised properly by the plugin, Markdown tables must not contain white space in the line that separate the table heading from the other table rows.
For example, the following works:
Error: language “md” is not supported
|:------------------|:---------------------|:-----------------|
This example will not work:
Error: language “md” is not supported
|:------------------| ---------------------|:-----------------|