ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Markdown​Highlighting

by braver ST3

Markdown syntax highlighting in any color scheme, with GFM support, for Sublime Text 3

Details

Installs

  • Total 28K
  • Win 11K
  • OS X 11K
  • Linux 5K
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 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
Windows 26 17 5 7 12 17 11 15 16 7 12 20 13 17 13 13 5 9 15 6 15 17 14 10 3 13 21 14 15 12 8 7 17 15 18 20 11 7 7 15 15 15 12 16 7 10
OS X 16 14 4 7 12 17 14 15 17 8 11 13 13 13 19 12 11 4 8 6 15 20 11 6 9 6 16 14 16 15 4 6 10 14 14 13 12 3 11 12 11 16 9 7 14 6
Linux 5 8 2 4 11 6 7 7 5 6 6 3 5 8 6 8 4 4 2 5 8 8 8 3 5 5 7 3 8 6 1 5 8 7 0 7 9 5 3 7 7 7 6 11 1 3

Readme

Source
raw.​githubusercontent.​com

MarkdownHighlighting

Sublime Text 3 Markdown grammar with scope names to provide some basic highlighting in all (legacy) color schemes, including classics like Tomorrow.

Most color schemes don't support the markdown syntax provided by the default package, or even packages like Markdown Extended. This package provides some basic hooks for markdown syntax highlighting in any color scheme.

Based on the latest version of the default Markdown package, and adds highlighting for Github Flavoured Markdown style fenced code blocks from Markdown Extended.

Before

After

Tips

You can create Syntax Specific settings settings to further improve the editing experience for Markdown files.

Adding these settings will create a centered view of 80 characters wide, which makes reading and writing Markdown that much easier:

"draw_centered": true,
"word_wrap": "true",
"wrap_width": 80,

If you use double trailing spaces to indicate line breaks, you might not want to trim white space:

"trim_trailing_white_space_on_save": false,

Spell checking is super nice to have in Markdown. This enables it for everything except URLS and in-line code:

"spell_check": true,
"spelling_selector": "meta.paragraph - markup.underline.link - markup.raw, markup.quote - markup.underline.link.markdown - markup.raw"