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

Markdown​Highlighting

by braver ST3 Trending

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

Details

Installs

  • Total 30K
  • Win 12K
  • OS X 12K
  • Linux 6K
Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4
Windows 11 13 24 11 6 8 10 14 8 16 10 5 15 11 15 21 18 14 6 10 15 12 23 14 8 6 11 6 13 12 20 9 10 2 12 15 17 15 6 10 8 18 5 8 12 16
OS X 4 29 19 15 8 3 7 8 15 15 13 6 13 13 14 18 11 10 9 8 10 8 16 9 11 5 10 7 13 17 11 12 2 10 12 16 10 14 14 7 2 13 8 21 12 12
Linux 5 4 11 9 2 4 1 8 8 7 7 2 3 8 3 4 3 6 5 3 3 2 6 4 2 6 2 8 12 4 6 4 3 5 8 7 4 10 4 2 2 5 2 7 9 8

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"