Inline element parser using a two-phase opener stack approach. Handles emphasis, strong, inline code, links, images, strikethrough, autolinks, and footnote references per CommonMark and GFM rules.
| Name | Signature |
|---|---|
| new | new(options) -> parser |
new(
options) ->parser
Create a new inline parser
Accepts an options table with:
emit: callback function for inline eventslink_refs: link reference definitions {label -> {url, title}}footnote_tracker: footnote usage tracker {used = {label -> true}}Also accepts positional args: new(emit, link_refs, footnote_tracker).