Skip to content

Instantly share code, notes, and snippets.

@ChiaraHsieh
Last active December 22, 2015 21:39
Show Gist options
  • Save ChiaraHsieh/6534697 to your computer and use it in GitHub Desktop.
Save ChiaraHsieh/6534697 to your computer and use it in GitHub Desktop.
Sublime Text 2 markdown syntax highlighting. Add tinkering code segment to your current .tmTheme. Edit the font colors in .tmTheme according to the sector names indicated in the "Markdown Theme Editing.md" gist. (Default color scheme: Green, designed for Phoenix Dark Green - Eighties.tmTheme)

Markup: Heading

Header


The line above is Markdown separator

  • This
  • Is
  • Markdown: Punctuation

Markdown: Strong and Markdown: Strong

  • Markdown Strong and Markdown: Strong

Markdown: Emphasis and Markdown: Emphasis

  • Markdown: Emphasis and Markdown: Emphasis

[Markdown: Link](Markup: Underline)

Markdown: Raw and Markkdown: Punctuation for Inline Block

This is Blockquote or Markup: Quote and Blockquote punctuation

<!-- Start tinkering -->
<dict>
<key>name</key>
<string>Markup: Strong</string>
<key>scope</key>
<string>markup.bold, markup.bold.markdown</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>bold</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Markup: Underline</string>
<key>scope</key>
<string>markup.underline,markup.underline.link.markdown,constant.other.reference.link.markdown,meta.image.reference.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#516A39</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Markdown: Link</string>
<key>scope</key>
<string>string.other.link.title.markdown,string.other.link.description.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#879D4E</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Markup: Emphasis</string>
<key>scope</key>
<string>markup.italic, markup.italic.markdown</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Markdown: Punctuation</string>
<key>scope</key>
<string>markup.list.unnumbered.markdown meta.paragraph.list.markdown, markup.list.unnumbered.markdown punctuation.definition.list_item.markdown, markup.list.numbered.markdown, markup.list.numbered.markdown meta.paragraph.list.markdown, markup.list.numbered.markdown punctuation.definition.list_item.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#879D4E</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Markdown: Raw</string>
<key>scope</key>
<string>text.html.markdown markup.raw.inline</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#BDD458</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Markdown: Punctuation for Inline Block</string>
<key>scope</key>
<string>punctuation.definition.raw.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#BDD458</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Markup: Heading</string>
<key>scope</key>
<string>markup.heading</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>bold</string>
<key>foreground</key>
<string>#9fb785</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Markdown separator</string>
<key>scope</key>
<string>meta.separator.markdown</string>
<key>settings</key>
<dict>
<key>background</key>
<string>#BBBBBB11</string>
<key>foreground</key>
<string>#AAAAAA</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Blockquote</string>
<key>scope</key>
<string>markup.quote.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#879D4E</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Blockquote punctuation</string>
<key>scope</key>
<string>punctuation.definition.blockquote.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#BDD458</string>
</dict>
</dict>
<!-- End tinkering -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment