Simplified SkipBlock. [jgm/peg-markdown]
See https://github.com/jgm/peg-markdown/commit/85439dd
This commit is contained in:
parent
ad8afc4ab1
commit
ba2d82f616
@ -31,7 +31,7 @@ const (
|
|||||||
// rebuild it using
|
// rebuild it using
|
||||||
// make nuke
|
// make nuke
|
||||||
// make parser
|
// make parser
|
||||||
needParserIfaceVersion = parserIfaceVersion_13
|
needParserIfaceVersion = parserIfaceVersion_14
|
||||||
)
|
)
|
||||||
|
|
||||||
// Markdown Options:
|
// Markdown Options:
|
||||||
|
@ -28,7 +28,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
parserIfaceVersion_13 = iota
|
parserIfaceVersion_14 = iota
|
||||||
)
|
)
|
||||||
|
|
||||||
// Semantic value of a parsing action.
|
// Semantic value of a parsing action.
|
||||||
@ -732,7 +732,7 @@ RawLine = ( < (!'\r' !'\n' .)* Newline > | < .+ > Eof )
|
|||||||
SkipBlock = HtmlBlock
|
SkipBlock = HtmlBlock
|
||||||
| ( !'#' !SetextBottom1 !SetextBottom2 !BlankLine RawLine )+ BlankLine*
|
| ( !'#' !SetextBottom1 !SetextBottom2 !BlankLine RawLine )+ BlankLine*
|
||||||
| BlankLine+
|
| BlankLine+
|
||||||
| ( &('#' | SetextBottom1 | SetextBottom2) RawLine )
|
| RawLine
|
||||||
|
|
||||||
# Syntax extensions
|
# Syntax extensions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user