IV. Comparison of text entry, editing, preview, publication, and CI/CD tools: Markdown-based vs Asciidoc-based
FEATURE/ASPECT | MARKDOWN | ASCIIDOC |
---|---|---|
Basic text entry, editing, and preview |
||
Distinguishing features |
Broad adoption, greater volume of published content, simple syntax for basic features, enhanced features available in various markdown flavors |
Complex tables, asides, definition lists, includes, sidebars, table of contents, live snippets from source code, anchors, in-file metadata, attribute/variable support, ifdef/ifndef for conditional inclusion |
Flavors and Standards |
Markdown (MD) plus varieties: Github Flavored Markdown (GFM), GitLab Flavored Markdown (GLFM, based on CommonMark) |
Asciidoc specification is governed by the Asciidoc Working Group under Eclipse |
Publication process |
Markdown → Jekyll → GitHub Pages |
Asciidoc → Antora → GitLab Pages |
CI/CD support |
Jekyll to GitHub Pages via Github Actions; To GitLab pages via GitLab Flavored Markdown (based on Kramdown) |
Antora to GitLab Pages via .gitlab-ci.yml playbook; to GitHub pages via Github Actions with .nojekyll directive |
Conversion between markdown and asciidoc |