Hacker News new | ask | show | jobs
by chaoxu 27 days ago
I've always wondered if pandoc can be made reactive. Say markdown to Pandoc AST.

If one changes something, a quick update to the AST would happen incrementally.

Now with all these llm I might actually see if it can be done.

1 comments

Look at flag --standalone. At least for html output pandoc seems to be able to handle something that feels like partial pandoc input in practice and produce html output that behaves like a snippet.

Pandoc AST - format called "native" - parses faster than pandoc markdown.