Skip to content

Commit

Permalink
fixed #8 again, added substituion
Browse files Browse the repository at this point in the history
  • Loading branch information
mangecoeur committed Feb 16, 2015
1 parent 596e83f commit dd65308
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AcademicMarkdown.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
<key>comment</key>
<string>Editorial Substitution</string>
<key>match</key>
<string>\{~~(.*?)~~\}</string>
<string>\{\~\~(.*?)\~\~\}</string>
<key>name</key>
<string>criticmarkup.substitution</string>
</dict>
Expand All @@ -411,7 +411,7 @@
<key>highlight</key>
<string>Editorial Highlight</string>
<key>match</key>
<string>\{\{(.*?)[ \t]*(\[(.*?)\])?[ \t]*\}\}</string>
<string>\{==(.*?)[ \t]*(\[(.*?)\])?[ \t]*==\}</string>
<key>name</key>
<string>criticmarkup.highlight</string>
</dict>
Expand Down
14 changes: 13 additions & 1 deletion AcademicMarkdownEditor.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,19 @@

<!-- Below definitions belong to thirdparty plugins. -->
<!-- critimarkdown addition-->

<dict>
<key>name</key>
<string>Addition</string>
<key>scope</key>
<string>criticmarkup.substitution</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#cacd13</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Addition</string>
Expand Down

0 comments on commit dd65308

Please sign in to comment.