Skip to content

Commit

Permalink
markdown.hrc - amend emphasis with underscores, fix #149
Browse files Browse the repository at this point in the history
  • Loading branch information
nightroman committed May 10, 2024
1 parent 95d883f commit 94488e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hrc/hrc/misc/markdown.hrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ xsi:schemaLocation="http://colorer.sf.net/2003/hrc http://colorer.sf.net/2003/hr
<type name="markdown">
<annotation><documentation><![CDATA[
markdown.hrc by Roman Kuzmin, aka NightRoman, 2020-01-20
markdown.hrc by Roman Kuzmin, aka NightRoman, 2024-05-10
* Inline HTML should be valid XML.
* Opened spans are always colored.
Expand Down Expand Up @@ -131,7 +131,7 @@ markdown.hrc by Roman Kuzmin, aka NightRoman, 2020-01-20
start="/(?{start}\*)[^\s*]?=/" end="/[^\s*]?#1(?{end}\*)|%PEnd;/"/>

<block scheme="PStrongSpan" region="EmText"
start="/(?:^|\s?#1)(?{start}_)[^\s_]?=/" end="/[^\s_]?#1(?{end}_)(?:$|\s?=)|%PEnd;/"/>
start="/(?:^|\s?#1)(?{start}_)[^\s_]?=/" end="/[^\s_]?#1(?{end}_)(?:$|\W?=)|%PEnd;/"/>

<inherit scheme="Base"/>
</scheme>
Expand Down

0 comments on commit 94488e1

Please sign in to comment.