Authored by Simon-L

Markdown processing using a WASM-compiled Go library

Uses Hugo's ( MD processor, blackfriday:

Compile using:

GOOS=js GOARCH=wasm go build -o main.wasm

Download this file :index.html

You will also need a file from your go installation: $ cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .

Serve the directory using Go or Caddy for example and navigate to index.html

Example markdown data: (modified from blackfriday sources)

main.go 693 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment