delta/html/patterns
library
Properties
-
blockquoteFencePattern
→ RegExp
-
Fenced blockquotes.
final
-
blockquotePattern
→ RegExp
-
The line starts with
> with one optional space after.
final
-
codeFencePattern
→ RegExp
-
Fenced code block.
final
-
dummyPattern
→ RegExp
-
A pattern which should never be used. It just satisfies non-nullability of
pattern fields.
final
-
emptyPattern
→ RegExp
-
The line contains only whitespace or is empty.
final
-
A line starting with
[^ and contains with ]:, but without special chars
(\] \r\n\x00\t) between. Same as GFM.
final
-
Leading (and trailing)
# define atx-style headers.
final
-
hrPattern
→ RegExp
-
Three or more hyphens, asterisks or underscores by themselves. Note that
a line like
---- is valid as both HR and SETEXT. In case of a tie,
SETEXT should win.
final
-
htmlBlockPattern
→ RegExp
-
A pattern to match the start of an HTML block.
final
-
htmlCharactersPattern
→ RegExp
-
A pattern to match HTML entity references and numeric character references.
final
-
indentPattern
→ RegExp
-
A line indented four spaces. Used for code blocks and lists.
final
-
linkReferenceDefinitionPattern
→ RegExp
-
A line starts with
[.
final
-
listPattern
→ RegExp
-
Unordered list
A line starting with one of these markers:
-, *, +. May have up to
three leading spaces before the marker and any number of spaces or tabs
after.
final
-
setextPattern
→ RegExp
-
A series of
= or - (on the next line) define setext-style headers.
final
-
tablePattern
→ RegExp
-
A line of hyphens separated by at least one pipe.
final