Skip to content
⚛ AsciiDoc language package for the Atom editor.
CoffeeScript Other
Branch: master
Clone or download
Latest commit c6c8c41 Oct 14, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github fix invalid sentence in contributing doc (#183) Apr 7, 2017
.travis chore: add Travis logs. Nov 21, 2016
grammars Do not attempt to match newline characters (#185) Oct 14, 2017
settings refactor: languages support Apr 18, 2016
styles chore: shadow DOM compatibility migration (#173) Jan 11, 2017
.coffeelintignore doc: add languages samples document Apr 18, 2016
.travis.yml chore: update TravisCI configuration. Jul 14, 2017
CONTRIBUTING.adoc fix invalid sentence in contributing doc (#183) Apr 7, 2017 Use *.md for package files to fix rendering on package page. Mar 3, 2014 doc: compatibility mode informations (#119) May 15, 2016
appveyor.yml chore: update CI configuration. (#177) Mar 12, 2017
coffeelint.json feat: add coffee lint rules Aug 29, 2015
package.json Prepare 1.11.0 release Oct 14, 2017

AsciiDoc Language Package for Atom

Atom Package Atom Package Downloads Build Status (Linux) Build Status (Windows) MIT License

Adds syntax highlighting and snippets to AsciiDoc files. Supports Asciidoctor-specific features.

NOTE: This package recognizes the modern AsciiDoc syntax endorsed by Asciidoctor. It does not support the legacy AsciiDoc syntax permitted by Asciidoctor with compat mode enabled or by AsciiDoc Python. Additionally, two-line section titles are not recognized by this package since they confuse both the language highlighter and the writer.

File extension support

The default file extensions for AsciiDoc files are ad, asc, adoc, asciidoc, and asciidoc.txt Changing the file extension to asciidoc.txt is a recommended solution to remain compatibile with .txt based tooling, whilst having a distinct filename related to the AsciiDoc language. To add a different file extension, such at .txt, customize your Atom configuration:

Open the Atom configuration:

  • Menu > Edit > Config..
  • 'Application: open your config' via the Command Palette
  • Edit ~/.atom/config.cson

Add a custom file type support:

      "source.asciidoc": [
          "foo" # all files with `.foo` extension (ex: ``)
          "foobar.txt" # all files with `.foobar.txt` extension  (ex `documentation.foobar.txt`)

Then save the configuration file and restart Atom or press ctrl + alt + r to refresh the UI. You should now see the new file type recognized by the atom-language-asciidoc package.


In the spirit of free software, everyone is encouraged to help improve this project.

To contribute code, simply fork the project on GitHub, hack away and send a pull request with your proposed changes. We have a dedicated guide to get you started.

Feel free to use the issue tracker to provide feedback or suggestions in other ways.

You can’t perform that action at this time.