Skip to content

Commit

Permalink
Added a horizontal rule, uh, rule. But we can't use it till we fix un…
Browse files Browse the repository at this point in the history
…derlined headers.
  • Loading branch information
ELLIOTTCABLE committed Nov 19, 2008
1 parent 2b43960 commit d531a20
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions Syntaxes/Markdown.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,25 @@
</zone>

<!--
this really isn't ideal, the haeder text itself should be selected
somehow - since we can't have multi-line regexen in Espresso, though, I
have no idea how to go about that.
this really isn't ideal, the header text itself should be selected
somehow - since we can't have multi-line regexen in Espresso, though, I
have no idea how to go about that.
-->
<zone name="header.underlined.markdown">
<expression>^((=|-)+)$</expression>
<capture number="1" name="header.delimiter.underline"/>
</zone>

<!--
this conflicts with the above, currently. I don't know how to get around
that.
-->
<!-- RULE -->
<!-- <zone name="horizontal-rule">
<expression>^(----+)$</expression>
<capture number="1" name="horizontal-rule.delimiter.underline"/>
</zone> -->

<!-- ITALIC -->
<zone name="string.quoted.markdown">
<expression>([\*_]{1}[^\*_\n]+[\*_]{1})</expression>
Expand Down

0 comments on commit d531a20

Please sign in to comment.