Streaming API
All convert_*_to_string methods buffer the full output before returning.
The iterator variants let you process the output token by token, which is
useful for large documents or when you need to write to a sink incrementally.
Text iterator
convert_text_iter returns impl Iterator<Item = RenderedToken>. Each
RenderedToken carries a string slice with the output text for that token.
HTML and Markdown iterators
Format-agnostic token pipeline
convert_tokens accepts any iterator of InputToken and returns an iterator
of RenderedToken. This is the lowest-level entry point and lets you supply
pre-tokenised input from a custom reader:
The format adapters (gukhanmun-html, gukhanmun-markdown) use this
internally.