Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

braver/MarkdownHighlighting

 
 

Repository files navigation

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"

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published