I’d like to use Pandoc as a Markdown parser from JavaScript in Node.js. I’m aware of the following options:
- Running Pandoc as a shell script, providing input via stdin and getting the output via stdout
- Running Pandoc via WebAssembly: https://github.com/y-taka-23/wasm-pandoc
Any other tips or suggestions?