Ceradoc

Cera is Latin forwax — the sealing wax pressed into documents to mark them authentic — and Doc isdocument: the seal of interoperable document information.

Cera

Latin — the sealing wax. Pressed once, a document stays authentic wherever it travels.

I

Interoperable — AsciiDoc, Markdown, HTML and DOCX translate through one hub, bidirectionally.

Doc

Document — semantically typed models and faithful round-trips.

Gems

A hub-and-spoke suite on RubyGems.org — install the fronts and renderers you need; the hub ties them together.

GemRoleRelease
ceradocCoreModel hub — the canonical document model every format passes throughceradoc gem version
ceradoc-adocAsciiDoc front — parse to CoreModel, rebuild from CoreModelceradoc-adoc gem version
ceradoc-markdownMarkdown front — parse to CoreModel, rebuild from CoreModelceradoc-markdown gem version
ceradoc-htmlHTML renderer — render the CoreModel to HTMLceradoc-html gem version
ceradoc-docxDOCX renderer — render the CoreModel to OOXMLceradoc-docx gem version
ceradoc-mirrorProseMirror-compatible JSON document modelceradoc-mirror gem version

Quick start

Install an AsciiDoc front and parse a document into the CoreModel.

$ gem install ceradoc-adoc
$ ceradoc parse document.adoc --to core

Hub-and-spoke architecture

Every format speaks to the hub — never to another spoke.

AsciiDoc⇄CoreModel⇄Markdown⇄HTML · DOCX

Read more inthe architecture guide.

Renamed: this project was formerly Coradoc atmetanorma/coradoc. It is now Ceradoc, living atgithub.com/ceradoc/ceradoc. Legacy coradoc*gems on RubyGems are frozen — use theceradoc*gems above. Full documentation:www.ceradoc.org/ceradoc/.