Require only one character for setext header lines. [jgm/peg-markdown]

See https://github.com/jgm/peg-markdown/commit/ce835e5
This commit is contained in:
Michael Teichgräber 2013-01-23 22:28:03 +01:00
parent 54cb06d41a
commit 326da7a836
2 changed files with 3 additions and 3 deletions

View File

@ -148,9 +148,9 @@ AtxHeading = s:AtxStart Sp? a:StartList ( AtxInline { a = cons($$, a) } )+ (Sp?
SetextHeading = SetextHeading1 | SetextHeading2
SetextBottom1 = "===" '='* Newline
SetextBottom1 = '='+ Newline
SetextBottom2 = "---" '-'* Newline
SetextBottom2 = '-'+ Newline
SetextHeading1 = &(RawLine SetextBottom1)
a:StartList ( !Endline Inline { a = cons($$, a) } )+ Sp? Newline

2
portid
View File

@ -1 +1 @@
191
192