A pair of colour schemes for writing Markdown in Sublime Text, Visual Studio Code, and other
.tmTheme editors. It takes aesthetic cues from popular minimalist writing apps and aims to lessen the visual impact of markdown punctuation. It also attempts to support the full range of Markdown syntax ranging from Markdown, MultiMarkdown, Github Flavoured Markdown, and Pandoc Markdown.
Sublime Text Installation
With Package Control
- Make sure that Package Control is already installed
- Choose Install Package from the Command Palette — Ctrl+Shift+P on Windows/Linux and ⇧⌘P on OS X
- Search for Gray Matter Color Schemes and hit Enter
- Clone or download the repo
- Choose Browse Packages from the Command Palette — Ctrl+Shift+P on Windows/Linux and ⇧⌘P on OS X
- Copy the repo folder into this directory
Note that this theme is specifically designed for Markdown. To configure Sublime Text such that this theme is always used for just Markdown files, first open up a Markdown file, and then in the menu bar open up the syntax-specific settings via Preferences > Settings - More > Syntax Specific - User.
Add in either:
"color_scheme": "Packages/Color Scheme - Gray Matter/Gray Matter Light.tmTheme",
"color_scheme": "Packages/Color Scheme - Gray Matter/Gray Matter Dark.tmTheme",
While in this file here are another few options you may want to consider in order to better match a more traditional Markdown text editor:
This color scheme pairs well with Boxy Yesterday if you desire a similar aesthetic for the wider Sublime Text chrome.
Supported Sublime Syntaxes
Visual Studio Code Installation & Configuration
Currently the theme is available through the Visual Studio Marketplace. You can then activate it in the
Color Theme section of the menu.
Tests use sublime_color_scheme_unit to test for regressions. Once installed (via Package Control) the
:TestSuite command in the Command Palette will run the test set.
A script builds the Dark version of the theme.
$ bash build.sh
Sublime Text works with the
.thTheme files in the root directory. To publish to Package Control just tag the version and push from master.
Visual Studio code uses the
*-color-theme.json files in the root directory which contain a number of VSC-specific settings for the editor chrome and import the
.tmTheme for basic syntax highlighting. To publish to the Visual Studio Marketplace (requires the
vsce package from
$ npx vsce publish 1.2.0
$ npx ovsx publish -p <token>
Atom uses the
.less files in
Note: ovsx is for the Open VSX registry
- Sublime Text Multimarkdown Grammars don't appear to exist for most footnote formats in-text such as
[@Kullmann:2014bd 26] or for recognising the bottom reference to a footnote such as
- Sublime Text Multimarkdown Grammars don't appear to exist for recognising the actual text part of an ATX style header
- Sublime Text Multimarkdown Grammars don't appear to exist for getting the syntax elements (ie the
-) for lists beyond the first item.
The MIT license.
This colour scheme is heavily influence by the visual style of Byword, iA Writer, and Ulysses.