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
|
||||
// make nuke
|
||||
// make parser
|
||||
needParserIfaceVersion = parserIfaceVersion_13
|
||||
needParserIfaceVersion = parserIfaceVersion_14
|
||||
)
|
||||
|
||||
// Markdown Options:
|
||||
|
@ -28,7 +28,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
parserIfaceVersion_13 = iota
|
||||
parserIfaceVersion_14 = iota
|
||||
)
|
||||
|
||||
// Semantic value of a parsing action.
|
||||
@ -732,7 +732,7 @@ RawLine = ( < (!'\r' !'\n' .)* Newline > | < .+ > Eof )
|
||||
SkipBlock = HtmlBlock
|
||||
| ( !'#' !SetextBottom1 !SetextBottom2 !BlankLine RawLine )+ BlankLine*
|
||||
| BlankLine+
|
||||
| ( &('#' | SetextBottom1 | SetextBottom2) RawLine )
|
||||
| RawLine
|
||||
|
||||
# Syntax extensions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user