logoalt Hacker News

chaoxutoday at 9:28 AM1 replyview on HN

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.


Replies

dapperdraketoday at 5:30 PM

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.