Jump to content

AsciiDoc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Rolfedh (talk | contribs) at 11:43, 21 July 2019 (Tools: awestruct.org site is inactive. Replaced it with the URL of the awestruct repo on github.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
AsciiDoc
Internet media typetext/asciidoc
Initial release2002 ?
Free format?yes[1]
Websitehttps://asciidoctor.org/
AsciiDoc
Developer(s)Stuart Rackham
Initial releaseNovember 25, 2002; 22 years ago (2002-11-25)
Stable release
8.6.9 / November 9, 2013; 11 years ago (2013-11-09)
Repository
Written inPython
Operating systemCross-platform
TypeDocumentation generator
LicenseGNU General Public License
Websiteasciidoc.org
Asciidoctor
Initial releaseJanuary 30, 2013; 12 years ago (2013-01-30)
Stable release
1.5.7.1 / May 10, 2018; 7 years ago (2018-05-10)
Repositoryhttps://github.com/asciidoctor/asciidoctor.git
Written inRuby
Operating systemCross-platform
TypeDocumentation generator
LicenseMIT License
Websiteasciidoctor.org

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]

History

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

A Ruby implementation called ‘Asciidoctor’, released in 2013, is in use by GitHub.[3] This implementation is also available in the Java ecosystem using JRuby and in the JavaScript ecosystem using Opal.js.

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

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

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 encyclopaedia, available in
English and *many* other languages.

== Software

You can install 'package-name' using
the `gem` command:

 gem install package-name

== Hardware

Metals commonly used include:

* copper
* tin
* lead
HTML-rendered result
My Article

J. Smith

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

Software

You can install package-name using the gem command:

gem install package-name
Hardware

Metals commonly used include:

  • copper
  • tin
  • lead

Tools

  • Antora[1] - a multi-repository documentation site generator for tech writers using git.
  • AsciiBinder[2] - (deprecated) a documentation system built on Asciidoctor for people who have a lot of docs to maintain and republish on a regular basis.
  • awestruct[3] - a static site generator inspired by the Jekyll.

See also

References

  1. ^ https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE
  2. ^ a b "AsciiDoc".
  3. ^ "AsciiDoc, powered by Asciidoctor, returns to GitHub and its 5+ million repositories".
  4. ^ "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. {{cite web}}: Unknown parameter |dead-url= ignored (|url-status= suggested) (help)
  5. ^ "Git wiki". Git SCM.