Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

AsciiDoc

From Wikipedia, the free encyclopedia
Human-readable document format
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "AsciiDoc" – news ·newspapers ·books ·scholar ·JSTOR
(March 2014) (Learn how and when to remove this message)
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.orgEdit this at Wikidata
Asciidoctor
Original authorRyan Waldron
DevelopersDan Allen, Sarah White,et al.
Initial releaseJanuary 30, 2013; 12 years ago (2013-01-30)
Stable release
2.0.26[1] Edit this on Wikidata / 24 October 2025
Repositorygithub.com/asciidoctor
Written inRuby
Operating systemCross-platform
TypeDocumentation generator
LicenseMIT
Websiteasciidoctor.org

AsciiDoc is ahuman-readable document format, semantically equivalent toDocBookXML, but usingplain textmark-up conventions. AsciiDoc documents can be created using anytext editor and read “as-is”, or rendered toHTML or any other format supported by a DocBook tool-chain, i.e.,PDF,TeX,Unixmanpages,e-books, slide presentations, etc.[2] Common file extensions for AsciiDoc files areadoc[3] and historicallytxt (as encouraged by AsciiDoc's creator).[4]

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

History

[edit]

Early history

[edit]
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
Repositorygithub.com/asciidoc/asciidoc-py3
Written inPython
Operating systemCross-platform
TypeDocumentation generator
LicenseGPL v2
Websiteasciidoc-py.github.io

AsciiDoc was created in 2002 by Stuart Rackham, who published tools (asciidoc anda2x), written in theprogramming languagePython to convert plain text,human readable files to commonly used published document formats.[2]

Implementations also exist inRuby (namedAsciidoctor, released in 2013), theJava ecosystem viaJRuby, theJavaScript ecosystem via Opal.js, and inHaskell andGo.

Standardizing and primacy of Asciidoctor (2019–present)

[edit]

Since the start of thetechnical standardizing process in 2019, the Asciidoctor project has aimed to produce anindependent, 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 ofsyntax 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 namedAsciiDoc.py. Since 2021, its documentation describes it aslegacy, and formally targets the older rendition of the language.[11]

Notable applications

[edit]
[icon]
This sectionneeds expansion. You can help byadding to it.(March 2025)

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

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

Red Hat's product documentationis written in AsciiDoc.

Asciidoctor is usable withinGitHub[14] andGitLab.[15]

Example

[edit]

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 andmany other languages.

Software

You can installpackage-name by using thegem command:

gem install package-name
Hardware

Metals commonly used include:

  • copper
  • tin
  • lead

Tools

[edit]
  • Antora – multi-repository documentation site generator for tech writers usinggit
  • AsciiBinder – (deprecated) documentation system built on Asciidoctor for people who have many docs to maintain and republish regularly
  • awestruct – static site generator inspired byJekyll
  • Asciidoc FX – AsciiDoc Book Editor based onJavaFX 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

[edit]

References

[edit]
  1. ^"Release 2.0.26". 24 October 2025. Retrieved12 November 2025.
  2. ^ab"AsciiDoc".Linuxlinks.com. Archived fromthe original on 2016-03-03. Retrieved2013-10-18.
  3. ^"AsciiDoc Recommended Practices".Asciidoctor.org. Retrieved2020-03-20.
  4. ^"AsciiDoc Frequently Asked Questions".asciidoc.org. Retrieved2020-03-20.
  5. ^"AsciiDoc Language".Eclipse.org. 27 July 2020.
  6. ^"AsciiDoc Working Group Charter".Eclipse.org.
  7. ^"Release 10.2.1". 17 July 2024. Retrieved21 July 2024.
  8. ^White, Sarah; Allen, Dan (2019-01-07)."Starting the AsciiDoc Specification Journey".Asciidoctor.org. Retrieved2025-03-31.
  9. ^"What's New in 2.0: Asciidoctor Docs".Asciidoctor.org. 2019-03-22. Retrieved2025-03-31.
  10. ^"Upgrade from Asciidoctor 1.5.x to 2.0". Retrieved2025-03-31.
  11. ^Peveler, Matthew (MasterOdin) (2021-02-09)."Add small blurb on legacy nature of AsciiDoc.py".GitHub. Retrieved2025-05-18.
  12. ^"Git wiki". Git SCM.
  13. ^"AsciiDoc 101 (chapter 4 of Getting Started with Atlas)".Author Welcome Kit. O'Reilly Media. Archived fromthe original on 14 October 2017. Retrieved19 May 2016.
  14. ^Allen, Dan (2013-01-30)."AsciiDoc, powered by Asciidoctor, returns to GitHub and its 5+ million repositories". Retrieved2025-03-31.
  15. ^"Asciidoc".GitLab User Docs.Archived from the original on 2019-07-22. Retrieved18 May 2025.

External links

[edit]
Office suite
Well-known
Lesser-known
Retrieved from "https://en.wikipedia.org/w/index.php?title=AsciiDoc&oldid=1323727591"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp