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

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"