BLOCKQUOTE_RULEconstant
Blockquote block.
>quote character followed by zero or more spaces.- No spaces can appear before the
>quote character. - Quote block is only broken by
\n\ntwo newline characters. - Nesting is capped at
MAX_DEPTH(10) levels; deeper>prefixes are rendered as plain text rather than recursed, so pathological input can't overflow the stack.
Examples
new MarkupParser({ rules: [BLOCKQUOTE_RULE] }).parse("> Quoted text")