Permalink
Browse files

Improving markdown support.

This adds support for: Headers, Bulleted lists, Numbered lists, Code blocks, Quote blocks, Seperators, Bold / Italic, Escape characters
  • Loading branch information...
evanmoran committed Jun 7, 2012
1 parent d70e2e1 commit 4f24168e54a55a757d168886d3bd32dfc35266c1
Showing with 144 additions and 72 deletions.
  1. +78 −38 Solarized (dark).tmTheme
  2. +66 −34 Solarized (light).tmTheme
View
@@ -1885,122 +1885,162 @@
<dict>
<key>name</key>
- <string>Markdown: List</string>
+ <string>Markdown: Headings</string>
<key>scope</key>
- <string>punctuation.definition.list_item.markdown</string>
+ <string>markup.heading.markdown, markup.heading.1.markdown, markup.heading.2.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#268bd2</string>
+ <string>#268BD2</string>
</dict>
</dict>
<dict>
<key>name</key>
- <string>Markup: Heading</string>
+ <string>Markdown: Bold</string>
<key>scope</key>
- <string>markup.heading</string>
+ <string>markup.bold.markdown</string>
<key>settings</key>
<dict>
+ <key>fontStyle</key>
+ <string>bold</string>
<key>foreground</key>
- <string>#b58900</string>
+ <string>#839496</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: Link</string>
+ <string>Markdown: Italic</string>
<key>scope</key>
- <string>meta.link.inline.markdown, string.other.link.title.markdown</string>
+ <string>markup.italic.markdown</string>
<key>settings</key>
<dict>
+ <key>fontStyle</key>
+ <string>italic</string>
<key>foreground</key>
- <string>#859900</string>
+ <string>#839496</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: Image</string>
+ <string>Markdown: Punctuation for Bold, Italic, and Inline Block</string>
<key>scope</key>
- <string>meta.image.inline.markdown, string.other.link.description.markdown</string>
+ <string>punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.raw.markdown</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#D3201F</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Markdown: Bulleted List</string>
+ <key>scope</key>
+ <string>markup.list.unnumbered.markdown</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#B58900</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Markdown: Numbered List</string>
+ <key>scope</key>
+ <string>markup.list.numbered.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#859900</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: Heading entity name</string>
+ <string>Markdown: Block and Inline Block</string>
<key>scope</key>
- <string>entity.name.section.markdown</string>
+ <string>markup.raw.block.markdown, markup.raw.inline.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#CB4B16</string>
+ <string>#2AA198</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: separator</string>
+ <string>Markdown: Quote Block and Punctuation</string>
+ <key>scope</key>
+ <string>markup.quote.markdown, punctuation.definition.blockquote.markdown</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#6C71C4</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Markdown: Seperator</string>
<key>scope</key>
<string>meta.separator.markdown</string>
<key>settings</key>
<dict>
- <key>background</key>
- <string>#042029</string>
<key>foreground</key>
- <string>#268bd2</string>
+ <string>#D33682</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Markdown: Link and Reference URL</string>
+ <key>scope</key>
+ <string>meta.image.inline.markdown, markup.underline.link.markdown</string>
+ <key>settings</key>
+ <dict>
+ <key>fontStyle</key>
+ <string>italic</string>
+ <key>foreground</key>
+ <string>#586E75</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: code block</string>
+ <string>Markdown: Link Title, Image Description</string>
<key>scope</key>
- <string>markup.raw.block.markdown</string>
+ <string>string.other.link.title.markdown, string.other.link.description.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#b58900</string>
+ <string>#93A1A1</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: code inline</string>
+ <string>Markdown: Angle Brakets on Link and Image</string>
<key>scope</key>
- <string>markup.raw.inline.markdown</string>
+ <string>punctuation.definition.link.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#b58900</string>
+ <string>#586E75</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: punctuation definition</string>
+ <string>Markdown: Parens on Link and Image </string>
<key>scope</key>
- <string>punctuation.definition.raw.markdown, punctuation.definition.italic.markdown, punctuation.definition.bold.markdown, punctuation.definition.string.begin.markdown,punctuation.definition.string.end.markdown,punctuation.definition.metadata.markdown</string>
+ <string>punctuation.definition.metadata.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#586e75</string>
+ <string>#586E75</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: blockquote punctuation definition</string>
+ <string>Markdown: Square Brakets on Link, Image, and Reference</string>
<key>scope</key>
- <string>punctuation.definition.blockquote.markdown</string>
+ <string>punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.constant.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#2aa198</string>
+ <string>#586E75</string>
</dict>
</dict>
View
@@ -1863,122 +1863,154 @@
<dict>
<key>name</key>
- <string>Markdown: List</string>
+ <string>Markdown: Headings</string>
<key>scope</key>
- <string>punctuation.definition.list_item.markdown</string>
+ <string>markup.heading.markdown, markup.heading.1.markdown, markup.heading.2.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#268bd2</string>
+ <string>#268BD2</string>
</dict>
</dict>
<dict>
<key>name</key>
- <string>Markup: Heading</string>
+ <string>Markdown: Bold</string>
<key>scope</key>
- <string>markup.heading</string>
+ <string>markup.bold.markdown</string>
<key>settings</key>
<dict>
+ <key>fontStyle</key>
+ <string>bold</string>
<key>foreground</key>
- <string>#b58900</string>
+ <string>#586E75</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: Link</string>
+ <string>Markdown: Italic</string>
<key>scope</key>
- <string>meta.link.inline.markdown, string.other.link.title.markdown</string>
+ <string>markup.italic.markdown</string>
<key>settings</key>
<dict>
+ <key>fontStyle</key>
+ <string>italic</string>
<key>foreground</key>
- <string>#859900</string>
+ <string>#586E75</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Markdown: Punctuation for Bold, Italic, and Inline Block</string>
+ <key>scope</key>
+ <string>punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.raw.markdown</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#DC322F</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Markdown: Bulleted List</string>
+ <key>scope</key>
+ <string>markup.list.unnumbered.markdown</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#B58900</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: Image</string>
+ <string>Markdown: Numbered List</string>
<key>scope</key>
- <string>meta.image.inline.markdown, string.other.link.description.markdown</string>
+ <string>markup.list.numbered.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#859900</string>
</dict>
</dict>
-
<dict>
<key>name</key>
- <string>Markdown: Heading entity name</string>
+ <string>Markdown: Block and Inline Block</string>
<key>scope</key>
- <string>entity.name.section.markdown</string>
+ <string>markup.raw.block.markdown, markup.raw.inline.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#CB4B16</string>
+ <string>#2AA198</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>markup.quote.markdown</string>
+ <key>scope</key>
+ <string>markup.quote.markdown</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#6C71C4</string>
</dict>
</dict>
<dict>
<key>name</key>
- <string>Markdown: separator</string>
+ <string>punctuation.definition.blockquote.markdown</string>
<key>scope</key>
- <string>meta.separator.markdown</string>
+ <string>punctuation.definition.blockquote.markdown</string>
<key>settings</key>
<dict>
- <key>background</key>
- <string>#FDF6E3</string>
<key>foreground</key>
- <string>#268bd2</string>
+ <string>#6C71C4</string>
</dict>
</dict>
<dict>
<key>name</key>
- <string>Markdown: code block</string>
+ <string>Markdown: Seperator</string>
<key>scope</key>
- <string>markup.raw.block.markdown</string>
+ <string>meta.separator.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#b58900</string>
+ <string>#D33682</string>
</dict>
</dict>
<dict>
<key>name</key>
- <string>Markdown: code inline</string>
+ <string>Markdown: Link URL, Reference</string>
<key>scope</key>
- <string>markup.raw.inline.markdown</string>
+ <string>markup.underline.link.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#b58900</string>
+ <string>#839496</string>
</dict>
</dict>
<dict>
<key>name</key>
- <string>Markdown: punctuation definition</string>
+ <string>Markdown: Link Title</string>
<key>scope</key>
- <string>punctuation.definition.raw.markdown, punctuation.definition.italic.markdown, punctuation.definition.bold.markdown, punctuation.definition.string.begin.markdown,punctuation.definition.string.end.markdown,punctuation.definition.metadata.markdown</string>
+ <string>markup.underline.link.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#93a1a1</string>
+ <string>#839496</string>
</dict>
</dict>
<dict>
<key>name</key>
- <string>Markdown: blockquote punctuation definition</string>
+ <string>Markdown: Link Punctuation</string>
<key>scope</key>
- <string>punctuation.definition.blockquote.markdown</string>
+ <string>meta.link.inet.markdown, meta.link.email.lt-gt.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.link.markdown</string>
<key>settings</key>
<dict>
<key>foreground</key>
- <string>#2aa198</string>
+ <string>#DC322F</string>
</dict>
</dict>

0 comments on commit 4f24168

Please sign in to comment.