Skip to content

Commit

Permalink
modifying header regex to allow for headers that don't having a closi…
Browse files Browse the repository at this point in the history
…ng #
  • Loading branch information
apticknor committed Aug 27, 2014
1 parent 5ced0d5 commit 04d22b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Contents/Resources/SyntaxDefinition.xml
Expand Up @@ -10,7 +10,7 @@

<!-- Headers -->
<keywords id="Header" color="#CC0000" inverted-color="#cc66ff" font-weight="bold" scope="support.header.markdown">
<regex>(^#{1,6}\s+[^#]+(?:#{0,99}))[\n\r]</regex>
<regex>(^#{1,6}\s+[^#\n\r]+(?:#{0,99}))[\n\r]</regex>
</keywords>
<keywords id="Setext Header" color="#1A1AA6" font-weight="bold" scope="support.header.markdown">
<regex>(^={3,})[\n\r]</regex>
Expand Down

0 comments on commit 04d22b6

Please sign in to comment.