eof package:pandoc
This parser only succeeds at the end of the input. This is not a
primitive parser but it is defined using
notFollowedBy.
eof = notFollowedBy anyToken <?> "end of input"
Include table of contents
Include table of contents
Parses one of a list of strings. If the list contains two strings one
of which is a prefix of the other, the longer string will be matched
if possible.
Parses one of a list of strings (tried in order), case insensitive.
Construct table of contents (as a bullet list) from document body.