MyST-Parser
MyST-Parser copied to clipboard
Document "Target" as block token
It appears to me that "Target" is block level token, not inline (as currently documented), and does block token like things, e.g. splitting a paragraph in two.
Is it intentional that "Target" is documented as an inline token?
nope should definitely be a block level cheers
On a related note, the docs say the following about inline tokens:
Span (or inline) tokens are defined on a single line of content.
I think this definition is the reason why "target" is listed as an inline token: because "targets" are defined on a single line.
The definition is incorrect however. Inline token definitions can be multi-line, for instance:
`multi line
inline token`