⚪️ An extension for Google Chrome (& Chromium) that converts AsciiDoc files to HTML directly in the browser using Asciidoctor.js.
CSS JavaScript HTML Shell
Latest commit e3b62ad Jan 13, 2017 @Mogztter Mogztter committed on GitHub Merge pull request #141 from Mogztter/issue-140
Resolves #140, save options when a custom .js or .css file is updated


Asciidoctor Chrome Extension

This project uses Asciidoctor.js to preview AsciiDoc as HTML inside the Chrome (or Chromium) web browser!

ChromeWebStore Badge v2 206x58

Project health: Build Status


  1. Install extension from Chrome Web Store

  2. Check Allow access to file URLs in chrome://extensions

  3. Open local or remote .ad, .adoc, .asc, .asciidoc file in Chrome

  4. Enjoy!

Due to a Chromium bug the Allow access to file URLs is lost on extension update. If preview of local files isn’t working, make sure to uncheck and recheck the Allow access to file URLs.


Loading your local copy of the extension on Chrome is super easy:

  1. Check Developer mode in chrome://extensions

  2. Click Load unpacked extension…​ and select the extension app directory

  3. That’s all

To see your changes, click the Reload (Ctrl+R) link in chrome://extensions. If you want to create a Pack extension just make a zip file of the extension app directory.


The extension can be configured via an options page.

To open the options page, right-click the extension icon and choose Options on the menu. You can also go to chrome://extensions and click the Options link.

The options page let you add custom Asciidoctor attributes or change the theme of the AsciiDoc HTML output.



It’s important to note that since the Chrome extension converts the document to embeddable HTML (header and footer disabled), the only TOC placement that work are preamble (if the document has a preamble) or manual placement.

= Title
:toc: preamble
= Title


You can also use preprocessor directives to fine-tune the content to put the TOC in the right place depending on the environment.


  • Updating a custom .css or .js file is not automatically saved

  • Asciidoctor.js 1.5.5-4

  • Highlight.js 9.9.0

  • Font Awesome 4.7.0

  • Options page now save changes automatically

  • Fix custom attributes parsing on the options page

  • Upgrade Font Awesome to 4.6.3

  • Decode entities in document title (Thanks @ismail & @mojavelinux)

  • MathJax is now working on remote files (Thanks @kindlychung)

  • Add missing images from Riak theme (Thanks @ssebastianj)

  • Asciidoctor 1.5.4

  • Font Awesome 4.5.0

  • MathJax 2.6.0

  • Chart extension

    Line chart
  • Emoji extension

    Large heart emoji
  • Allow attributes to be defined via URL parameters

    Set TOC placement to preamble


  • Add tip about enabling local file access to options page

  • Support embedded videos

  • Fix enable/disable on local files

  • Font Awesome 4.3.0

  • Asciidoctor 1.5.2

  • Support :max-width: attribute

  • Offline mode

  • .txt files extension (configurable)

  • Asciidoctor 1.5.1

  • Fade navigation to enable sections as slides (contrib)

  • Asciidoctor 1.5.0 !

  • New stylesheet with Open Source Fonts

  • Better print styles

  • Font Awesome 4.1

  • MathJax support

  • Allow custom Javascript and Stylesheet


  • Upgrade to Asciidoctor 1.5.0-preview.8

  • Activate includes!

  • Render selection

  • Match URLs that contain a query string


  • Upgrade to Asciidoctor 1.5.0.preview.1

  • Add integration with Font Awesome 3.2.1


  • Add configuration option for specifying custom attributes

  • Allow to change the theme of AsciiDoc HTML output


  • Add highlight.js for syntax highlighting

  • Add context menu to send the "browser content" to the Asciidoctor Editor


  • Auto reload, you don’t need to refresh your browser anymore!

  • Shiny icon in chrome://extensions/

  • Support .asc file extension (thanks @mojavelinux)

Copyright © 2013 Guillaume Grossetie. Free use of this software is granted under the terms of the MIT License.

See the LICENSE file for details.