diff options
Diffstat (limited to 'src/Markdown/markdown.bnf')
-rw-r--r-- | src/Markdown/markdown.bnf | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Markdown/markdown.bnf b/src/Markdown/markdown.bnf index d26b18a6..d6fd2ed2 100644 --- a/src/Markdown/markdown.bnf +++ b/src/Markdown/markdown.bnf @@ -86,8 +86,6 @@ Strong ::= StrongStar | StrongUnderscore StrongStar ::= '**' !Whitespace (!'**' Inline)+ '**' StrongUnderscore ::= '__' !Whitespace (!'__' Inline)+ '__' -Link ::= HrefLink | ReferenceLink -private ReferenceLink ::= '[' Target ']' -private HrefLink ::= '[' Target ']' '(' Href ')' +Link ::= '[' Target ']' ('(' Href ')')? Target ::= Word+ -Href ::= Word+
\ No newline at end of file +Href ::= (Word | Number | ':' | '/')+
\ No newline at end of file |