Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
AsciiDoc
Text format language

AsciiDoc is a human-readable document format, semantically equivalent to DocBook XML, but using plain text mark-up conventions. AsciiDoc documents can be created using any text editor and read “as-is”, or rendered to HTML or any other format supported by a DocBook tool-chain, i.e., PDF, TeX, Unix manpages, e-books, slide presentations, etc. Common file extensions for AsciiDoc files are adoc and historically txt (as encouraged by AsciiDoc's creator).

The AsciiDoc format is being standardized by the Eclipse Foundation.

We don't have any images related to AsciiDoc yet.
We don't have any YouTube videos related to AsciiDoc yet.
We don't have any PDF documents related to AsciiDoc yet.
We don't have any Books related to AsciiDoc yet.
We don't have any archived web articles related to AsciiDoc yet.

History

Early history

AsciiDoc was created in 2002 by Stuart Rackham, who published tools (asciidoc and a2x), written in the programming language Python to convert plain text, human readable files to commonly used published document formats.6

Implementations exist in Ruby (named Asciidoctor, released in 2013), the Java ecosystem via JRuby, the JavaScript ecosystem via Opal.js, and in Haskell and Go.

Standardizing and primacy of Asciidoctor (2019–present)

Since the start of the technical standardizing process in 2019, the Asciidoctor project has aimed to produce an independent, compatible implementation of the AsciiDoc specification in the making, with the support of Stuart Rackham, the original author of the language.7 The official website of the AsciiDoc language has since begun linking to Asciidoctor's documentation of the language.

The start of the standardizing process in 2019 coincided with the release of Asciidoctor 2.0 and several parts of syntax being deprecated, such as single quotation marks (') to indicate italics.8 Legacy syntax remains available through a compatibility mode.9

The original Python implementation by Stuart Rackham continues to be developed, and named AsciiDoc.py. Since 2021, its documentation describes it as legacy, and formally targets the older rendition of the language.10

Notable applications

Most of the Git project documentation is written in AsciiDoc.11

Some of O'Reilly Media's books and e-books are authored using AsciiDoc mark-up.12

Red Hat's product documentation is written in AsciiDoc.

Asciidoctor is usable within GitHub13 and GitLab.14

Example

The following shows text using AsciiDoc mark-up, and a rendering similar to that produced by an AsciiDoc processor:

AsciiDoc source text
= My ArticleJ. Smithhttps://wikipedia.org[Wikipedia] is anon-line encyclopedia, available inEnglish and *many* other languages.== SoftwareYou can install _package-name_ by usingthe 'gem' command: gem install package-name== HardwareMetals commonly used include:* copper* tin* lead
HTML-rendered result
My Article

J. Smith

Wikipedia is an on-line encyclopedia,available in English and many other languages.

Software

You can install package-name by using the gem command:

gem install package-nameHardware

Metals commonly used include:

  • copper
  • tin
  • lead

Tools

  • Antora – multi-repository documentation site generator for tech writers using git
  • AsciiBinder – (deprecated) documentation system built on Asciidoctor for people who have many docs to maintain and republish regularly
  • awestruct – static site generator inspired by Jekyll
  • Asciidoc FX – AsciiDoc Book Editor based on JavaFX 18
  • AsciiDocLIVE – free online AsciiDoc editor
  • DAPS – DocBook Authoring and Publishing Suite (DAPS) is command-line software to publish DocBook & AsciiDoc as HTML, PDF, and EPUB

See also

  • Free and open-source software portal

References

  1. "AsciiDoc". Linuxlinks.com. Archived from the original on 2016-03-03. Retrieved 2013-10-18. https://web.archive.org/web/20160303232746/http://www.linuxlinks.com/article/20130921024111314/AsciiDoc.html

  2. "AsciiDoc Recommended Practices". Asciidoctor.org. Retrieved 2020-03-20. https://asciidoctor.org/docs/asciidoc-recommended-practices/

  3. "AsciiDoc Frequently Asked Questions". asciidoc.org. Retrieved 2020-03-20. http://asciidoc.org/faq.html#_what_is_the_preferred_file_name_extension_for_asciidoc_files

  4. "AsciiDoc Language". Eclipse.org. 27 July 2020. https://projects.eclipse.org/projects/technology.asciidoc

  5. "AsciiDoc Working Group Charter". Eclipse.org. https://www.eclipse.org/org/workinggroups/asciidoc-charter.php

  6. "AsciiDoc". Linuxlinks.com. Archived from the original on 2016-03-03. Retrieved 2013-10-18. https://web.archive.org/web/20160303232746/http://www.linuxlinks.com/article/20130921024111314/AsciiDoc.html

  7. White, Sarah; Allen, Dan (2019-01-07). "Starting the AsciiDoc Specification Journey". Asciidoctor.org. Retrieved 2025-03-31. https://asciidoctor.org/news/2019/01/07/asciidoc-spec-proposal/

  8. "What's New in 2.0: Asciidoctor Docs". Asciidoctor.org. 2019-03-22. Retrieved 2025-03-31. https://docs.asciidoctor.org/asciidoctor/latest/whats-new/#asciidoctor-2-0-0

  9. "Upgrade from Asciidoctor 1.5.x to 2.0". Retrieved 2025-03-31. https://docs.asciidoctor.org/asciidoctor/latest/migrate/upgrade

  10. Peveler, Matthew (MasterOdin) (2021-02-09). "Add small blurb on legacy nature of AsciiDoc.py". GitHub. Retrieved 2025-05-18. https://github.com/asciidoc-py/asciidoc-py/pull/175

  11. "Git wiki". Git SCM. https://git.wiki.kernel.org/index.php/AsciiDoc

  12. "AsciiDoc 101 (chapter 4 of Getting Started with Atlas)". Author Welcome Kit. O'Reilly Media. Archived from the original on 14 October 2017. Retrieved 19 May 2016. https://web.archive.org/web/20171014043259/http://chimera.labs.oreilly.com/books/1230000000065/ch04.html

  13. Allen, Dan (2013-01-30). "AsciiDoc, powered by Asciidoctor, returns to GitHub and its 5+ million repositories". Retrieved 2025-03-31. https://asciidoctor.org/news/2013/01/30/asciidoc-returns-to-github/

  14. "Asciidoc". GitLab User Docs. Archived from the original on 2019-07-22. Retrieved 18 May 2025. https://docs.gitlab.com/ee/user/asciidoc.html