Back

Pandoc Lua Filters

81 points2 dayspandoc.org
lifthrasiir4 hours ago

Is there anyone feeling that Pandoc is ever increasingly bloated? I have used Lua filters a decade ago [1] and the current documentation is nothing like my memories. I'm not even sure that how much of Lua scripts remain compatible across different Pandoc versions.

[1] https://github.com/mearie/mearie.github.io/blob/source/res/w...

a1o31 minutes ago

We use it for seven years and it still runs fine when we update Pandoc - we usually always update things. I don’t remember anything about the docs, so not sure what changed.

zenoprax41 minutes ago

With a tagline of "a universal document converter" it is almost a guarantee to become a complicated program but how much of it is being used for any single conversion?

Two more examples:

Rclone is "bloated" but it needs to be in order to fulfill its purpose.

ZFS is "bloated" because it combines volumes and filesystems but breaking the Unix philosophy also enables a different kind of synergy and simplicity elsewhere.

lifthrasiir31 minutes ago

A universal document converter is expected to expand via adding support for additional formats---that's okay (same for your other examples). I'm much more worried about the widening scope of the project.

chaoxu3 hours 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.