go-richdoc

go-richdoc

One rich-document model, and the formats that convert into it.

Reference GitHub

What is go-richdoc?

A document is worth one representation, not one per format. go-richdoc is that representation — and the converters that read and write it, so Markdown, LaTeX and reStructuredText meet in the middle instead of pairwise. Pure Go, CGO_ENABLED=0.

Packages

4 module(s) in this organisation.

R
richdoc
The document model every converter reads and writes.
M
markdown
Markdown (CommonMark + GFM) ⇄ richdoc.
L
latex
LaTeX ⇄ richdoc.
R
rst
reStructuredText ⇄ richdoc, on the go-docutils engine.