Skip to content

Commit

Permalink
fix: improve markdown highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
equinusocio committed Aug 17, 2016
1 parent 983f8d8 commit d96c70a
Show file tree
Hide file tree
Showing 8 changed files with 1,326 additions and 97 deletions.
50 changes: 37 additions & 13 deletions .src/schemes/scheme.YAML-tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ settings:
markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js
settings:
foreground: '<%= scheme.base.green %>'
fontStyle: normal
fontStyle: 'normal'

- name: Class, Support
scope: entity.name.class, entity.name.type.class, support.type, support.class, support.orther.namespace.use.php,
Expand Down Expand Up @@ -204,7 +204,7 @@ settings:
- name: URL
scope: '*url*, *link*, *uri*'
settings:
fontStyle: underline
fontStyle: 'underline'

- name: Search Results Nums
scope: constant.numeric.line-number.find-in-files - match
Expand Down Expand Up @@ -285,12 +285,12 @@ settings:
- name: Markdown - Markup Raw Inline
scope: text.html.markdown markup.raw.inline
settings:
foreground: '<%= scheme.base.red %>'
background: '<%= scheme.invisibles %>'

- name: Markdown - Line Break
scope: text.html.markdown meta.dummy.line-break
settings:
foreground: '<%= scheme.invisibles %>'
foreground: '<%= scheme.punctuation %>'

- name: Markdown - Heading
scope: markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown
Expand All @@ -304,11 +304,16 @@ settings:
foreground: '<%= scheme.base.pink %>'

- name: Markup - Bold
scope: markup.bold
scope: markup.bold, markup.bold string
settings:
fontStyle: 'bold'
foreground: '<%= scheme.base.pink %>'

- name: Markup - Bold & Italic
scope: markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string
settings:
fontStyle: 'bold italic'

- name: Markup - Underline
scope: markup.underline
settings:
Expand All @@ -319,26 +324,36 @@ settings:
scope: markup.strike
settings:
fontStyle: 'strike'
foreground: '<%= scheme.base.brown %>'
foreground: '<%= scheme.base.comments %>'

- name: Markdown - Blockquote
scope: markup.quote, punctuation.definition.blockquote.markdown
scope: markup.quote punctuation.definition.blockquote.markdown
settings:
fontStyle: 'italic'
foreground: '<%= scheme.base.cyan %>'
background: '<%= scheme.invisibles %>'
foreground: '<%= scheme.invisibles %>'

- name: Markup - Quote
scope: markup.quote
settings:
fontStyle: 'italic'
foreground: '<%= scheme.base.cyan %>'
foreground: '<%= scheme.base.comments %>'

- name: Markdown - Link
scope: string.other.link.title.markdown
settings:
fontStyle: 'underline'
foreground: '<%= scheme.base.blue %>'

- name: Markdown - Link Description
scope: string.other.link.description.title.markdown
settings:
foreground: '<%= scheme.base.purple %>'

- name: Markdown - Link Anchor
scope: constant.other.reference.link.markdown
settings:
foreground: '<%= scheme.base.yellow %>'


- name: Markup - Raw Block
scope: markup.raw.block
settings:
Expand All @@ -362,6 +377,16 @@ settings:
fontStyle: ''
foreground: '<%= scheme.invisibles %>'

- name: Markdown - Punctuation Definition
scope: text.html.markdown punctuation.definition
settings:
foreground: '<%= scheme.comments %>'

- name: Markdown HTML - Punctuation Definition
scope: text.html.markdown meta.disable-markdown punctuation.definition
settings:
foreground: '<%= scheme.base.cyan %>'

- name: Markdown - Separator
scope: meta.separator
settings:
Expand All @@ -372,8 +397,7 @@ settings:
- name: Markup - Table
scope: markup.table
settings:
background: '<%= scheme.base.red %>1a'
foreground: '<%= scheme.base.red %>'
background: '<%= scheme.invisible %>'

# >> AceJump

Expand Down
Loading

0 comments on commit d96c70a

Please sign in to comment.