Interoperable document information,sealed.
Cera is Latin forwax — the sealing wax pressed into documents to mark them authentic. Ceradoc parses AsciiDoc and Markdown into one canonical CoreModel, then presses that model into any format: faithful, verifiable, round-trip-intact.
AsciiDoc
.adoc
⇄
CoreModel
Markdown
.md
One hub, every direction: the same CoreModel also presses intoHTML, DOCXand ProseMirror JSON.
What the seal guarantees
Identity
The document keeps its name. Headings, authored IDs, front matter and document attributes survive every trip through the hub.
Integrity
Nothing added, nothing invented. Unsupported constructs are rejected explicitly instead of silently rewritten.
Permanence
A sealed document re-opens as itself. Round trips are byte-stable, and the harness catalogues any seal that ever leaks.
The six seals
One gem per press — the hub, the two parsers, the three presses.
ceradocThe CoreModel hub — the canonical document model every format passes through
ceradoc-adocAsciiDoc front — PARG grammar, parse to CoreModel, rebuild from CoreModel
ceradoc-markdownMarkdown front — PARG grammar, parse to CoreModel, rebuild from CoreModel
ceradoc-htmlHTML renderer — the CoreModel pressed into clean, styled markup
ceradoc-docxDOCX renderer — the CoreModel pressed into WordprocessingML
ceradoc-mirrorProseMirror-compatible JSON mirror of the CoreModel
Press one yourself
$ gem install ceradoc-adoc ceradoc-html
$ ceradoc parse document.adoc --to core
$ ceradoc convert document.adoc -t html
# the document comes back sealed — seethe round-trip guarantee