This project uses Asciidoctor.js to preview AsciiDoc as HTML inside the Chrome (or Chromium) web browser!
-
Install extension from Chrome Web Store
-
Check
Allow access to file URLs
inchrome://extensions
-
Open local or remote .ad, .adoc, .asc, .asciidoc file in Chrome
-
Enjoy!
Loading your local copy of the extension on Chrome is super easy:
-
Check
Developer mode
inchrome://extensions
-
Click
Load unpacked extension…
and select the extension root directory -
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 root 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.
-
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
Copyright © 2013 Guillaume Grossetie. Free use of this software is granted under the terms of the MIT License.
See the LICENSE file for details.