Commit Graph
3 Commits
Author SHA1 Message Date
John MacFarlane 7d834027d1 Improve wasm Makefile.
It should rebuild js and html when SHA1s change.
2026-04-16 11:26:50 +02:00
John MacFarlane 961106f61d Change wasm demo path to /app 2026-02-01 15:17:45 +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