Same as previous patch but for the underlined variant. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/2a5daec
This commit is contained in:
parent
5bebe88174
commit
982e5856bf
@ -31,7 +31,7 @@ const (
|
|||||||
// rebuild it using
|
// rebuild it using
|
||||||
// make nuke
|
// make nuke
|
||||||
// make parser
|
// make parser
|
||||||
needParserIfaceVersion = parserIfaceVersion_15
|
needParserIfaceVersion = parserIfaceVersion_16
|
||||||
)
|
)
|
||||||
|
|
||||||
// Markdown Options:
|
// Markdown Options:
|
||||||
|
@ -28,7 +28,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
parserIfaceVersion_15 = iota
|
parserIfaceVersion_16 = iota
|
||||||
)
|
)
|
||||||
|
|
||||||
// Semantic value of a parsing action.
|
// Semantic value of a parsing action.
|
||||||
@ -541,7 +541,7 @@ EmphStar = OneStarOpen
|
|||||||
{ $$ = p.mkList(EMPH, a) }
|
{ $$ = p.mkList(EMPH, a) }
|
||||||
|
|
||||||
OneUlOpen = !UlLine '_' !Spacechar !Newline
|
OneUlOpen = !UlLine '_' !Spacechar !Newline
|
||||||
OneUlClose = !Spacechar !Newline a:Inline !StrongUl '_' !Alphanumeric { $$ = a }
|
OneUlClose = !Spacechar !Newline a:Inline '_' !Alphanumeric { $$ = a }
|
||||||
|
|
||||||
EmphUl = OneUlOpen
|
EmphUl = OneUlOpen
|
||||||
a:StartList
|
a:StartList
|
||||||
|
Loading…
Reference in New Issue
Block a user