Documentation
¶
Rendered for js/wasm
Overview ¶
Command wasm builds libmdviewer for GOOS=js GOARCH=wasm. It registers its API on globalThis.__libmdviewer for the ESM wrapper (wasm/npm/ index.js) — hosts use the wrapper, not this object, so its shape may change with the wrapper in lockstep. Options/error semantics are the same strict version-1 JSON boundary the C ABI uses (internal/boundary).
Click to show internal directories.
Click to hide internal directories.