Commit Graph
6 Commits
Author SHA1 Message Date
John MacFarlane 2f1b7671fb wasm: change title in web app to "pandoc for the people". 2026-02-12 22:38:19 +01:00
John MacFarlane 061055d18e wasm gui: Don't block everything while pandoc.wasm loads. 2026-02-05 10:51:30 +01:00
John MacFarlane c8ba761289 wasm app: ensure that input files show up under the file entry box. 2026-02-02 19:07:00 +01:00
John MacFarlane 8c6e906f83 wasm: expose "version" in query and put it in page footer on demo. 2026-02-02 12:13:07 +01:00
John MacFarlane bf34bb6dbd Small wasm interface tweaks.
- Add footer.
- Fix convert tabs.
- Add Help link.
- Add Verbosity dropdown.
- Fix console message about files being undefined.
2026-02-01 14:50:50 +01:00
John MacFarlane 4b26f50118 Add support for compiling pandoc.wasm.
'make pandoc.wasm' will compile a wasm version of pandoc.

This also adds a 'repl' flag to pandoc-lua-engine, so that
support for a Lua repl can be disabled for the wasm build.

A new wasm directory contains:

- pandoc.js, a JavaScript wrapper for pandoc.wasm
- index.html + index.js, a web app exposing all of pandoc's
  functionality in a GUI interface
- a set of illustrative examples that can be loaded from the web app

Most of the code in index.html and index.js has been produced in
interaction with Claude code.
2026-02-01 14:50:50 +01:00