AsciiDoc

Human-readable document format From Wikipedia, the free encyclopedia

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.[2] Common file extensions for AsciiDoc files are adoc[3] and historically txt (as encouraged by AsciiDoc's creator).[4]

Filename extensions
.adoc, .asciidoc, .txt
Internet mediatype
text/asciidoc, text/plain
Initial releaseNovember 25, 2002; 23 years ago (2002-11-25)
Quick facts Filename extensions, Internet media type ...
AsciiDoc file format
Filename extensions
.adoc, .asciidoc, .txt
Internet media type
text/asciidoc, text/plain
Initial releaseNovember 25, 2002; 23 years ago (2002-11-25)
Open format?Yes
Websiteasciidoc.org Edit this at Wikidata
Close
Original authorRyan Waldron
DevelopersDan Allen, Sarah White, et al.
Initial releaseJanuary 30, 2013; 13 years ago (2013-01-30)
Stable release
2.0.26[1] Edit this on Wikidata / 24 October 2025
Quick facts Asciidoctor, Original author ...
Asciidoctor
Original authorRyan Waldron
DevelopersDan Allen, Sarah White, et al.
Initial releaseJanuary 30, 2013; 13 years ago (2013-01-30)
Stable release
2.0.26[1] Edit this on Wikidata / 24 October 2025
Written inRuby
Operating systemCross-platform
TypeDocumentation generator
LicenseMIT
Websiteasciidoctor.org
Repositorygithub.com/asciidoctor
Close

The AsciiDoc format is being standardized by the Eclipse Foundation.[5][6]

History

Early history

Quick facts Original author, Developers ...
AsciiDoc.py
Original authorStuart Rackham
DevelopersMatthew Peveler, Dan Allen, Michel Krämer, et al.
Initial releaseNovember 25, 2002; 23 years ago (2002-11-25)
Stable release
10.2.1[7] Edit this on Wikidata / 17 July 2024
Written inPython
Operating systemCross-platform
TypeDocumentation generator
LicenseGPL v2
Websiteasciidoc-py.github.io
Repositorygithub.com/asciidoc/asciidoc-py3
Close

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.[2]

Implementations also 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.[8] 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.[9] Legacy syntax remains available through a compatibility mode.[10]

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.[11]

Notable applications

Most of the Git project documentation is written in AsciiDoc.[12]

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

Red Hat's product documentation is written in AsciiDoc.

Asciidoctor is usable within GitHub[14] and GitLab.[15]

The JetBrains IDE ecosystem supports AsciiDoc editing through plugins such as AsciiDoc and AsciiDoc Pro, which provide AsciiDoc documentation support including live preview, syntax highlighting and PDF export.[16]

Example

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

AsciiDoc source text
= My Article
J. Smith

https://wikipedia.org[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-name

== Hardware

Metals commonly used include:

* copper
* tin
* lead
More information HTML-rendered result ...
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-name
Hardware

Metals commonly used include:

  • copper
  • tin
  • lead
Close

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

References

Related Articles

Wikiwand AI