• westurner 2 days ago

    From the pandoc release announcement: https://github.com/jgm/pandoc/releases/3.9 :

    > Starting with this release, pandoc can be compiled to WASM, making it possible to use pandoc in the browser. A full-featured GUI interface is provided at https://pandoc.org/app

    • westurner 2 days ago

      Pandoc in WASM probably makes it possible to add jupytext pandoc markdown support to jupyterlite?

    • iib 2 days ago

      This is really nice to know. I remember trying to compile pandoc to Wasm after finding out that ghc had Wasm support, hitting all kinds of problems and then realising that there was no real way to post an issue to Haskell's gitlab repo without being pre-approved.

      I guess now with LLMs, this makes more sense than ever, but it was a frustrating experience.

      • rustyhancock 2 days ago

        > no real way to post an issue to Haskell's gitlab repo without being pre-approved.

        This is so on brand for Haskell people I love it.

        • tome 6 hours ago

          Really, why? What do you mean? The reason for manual approval of accounts was to defeat spammers.

      • fiddlosopher 2 days ago

        The web app can be found at https://pandoc.org/app . This has almost the full power of the command-line app, subject to the limitations imposed by the WASM sandbox. Thus:

        - the app cannot fetch resources using HTTP

        - JSON filters are not supported, as they involve external programs

        - Lua filters are supported, but only if they don't try to do system IO operations or run external programs

        - Output to PDF is supported only via Typst (using the WASM version of Typst).

        • hbcondo714 2 days ago

          > ERROR: Unknown input format pdf Pandoc can convert to PDF, but not from PDF

          Darn