@wdprlib/parser
Preparing search index...
parser/rules/block/blockquote
blockquoteRule
Variable blockquoteRule
Const
blockquoteRule
:
BlockRule
= ...
Block rule for
>
prefix blockquotes.
Parsing strategy:
Collect consecutive lines that begin with BLOCKQUOTE_MARKER at line start.
For each line, record the depth (number of
>
chars, zero-indexed) and the token range of the content after the mandatory space.
Lines missing the required space are consumed but produce no output.
Feed the flat depth list into processDepths to build a nested tree.
Recursively convert the tree into nested blockquote container elements, re-parsing each run of content tokens as blocks.
Package
Version
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@wdprlib/parser
Loading...
Block rule for
>prefix blockquotes.Parsing strategy:
>chars, zero-indexed) and the token range of the content after the mandatory space.