Render AsciiDoc (.ad, .adoc, .asc, .asciidoc) as HTML inside your browser!
Asciidoctor.js Live Preview Extension
Usage
1. Check Allow access to file URLs in chrome://extensions
2. Open local or remote .ad, .adoc, .asc, .asciidoc file in Chrome
3. Enjoy!
Options
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 attributes or change the theme of the AsciiDoc HTML output.
Changelog
2.7.0
• Fix MathJax equation numbering (#412)
• Upgrade Asciidoctor.js from 2.2.0 to 2.2.1(based on Asciidoctor 2.0.12)
• Upgrade Asciidoctor Kroki from 0.8.2 to 0.12.0 (add excalidraw, bpmn and bytefield as a supported diagrams)
• Global configuration using `kroki-default-format` and `kroki-default-options` attributes
• Upgrade bulma from 0.8.2 to 0.9.1
2.6.1
• Do not add the toc2 class if the document has no section - thanks @mnrvwl
• Stop auto reload when the extension has been disabled - thanks @mnrvwl
• Remove the deprecated options_page - thanks @mnrvwl
• Upgrade Asciidoctor.js from 2.1.1 to 2.2.0
• Upgrade Asciidoctor Kroki from 0.7.0 to 0.8.1
• Support sidebar toc
• Compatibility with Firefox, use the same codebase again!
• Remove chartist sourcemap reference
2.5.0
• Upgrade Asciidoctor.js from 2.0.3 to 2.1.1
• Show errors thrown by the background script on the page (thanks @doub)
• Catch exceptions thrown by the initial XMLHttpRequest
• Use the `Cache-Control` header to make sure that we fetch the latest version available
• Upgrade Asciidoctor Kroki from 0.4.0 to 0.7.0 with new diagrams: `packetdiag`, `rackdiag`, `vega` and `vegalite`
• Upgrade chartist from 0.11.0 to 0.11.4
• Upgrade bulma from 0.7.5 to 0.8.2
2.4.0
• Move the fetch and convert functions in the background script (as the latest version of Chrome 80+ blocks `XMLHttpRequest` sent by the content script)
• Upgrade to MathJax 3.0.1
2.3.0
• Upgrade to MathJax 3.0.0 (thanks @sindzicat)
• Use server-side syntax highlighting (thanks @john-cj)
2.2.0
• Fix inter-document cross references by using `.adoc` as `outfilesuffix` (thanks @jmini)
• Disable the diagram extension by default (can be enabled in options page)
• The Kroki server URL can now be configured in the options page (for instance, you can point to a local instance)
2.1.0
• Set built-in attributes docfile, docname and docfilesuffix (thanks @utopalex & @ehmkah)
• Use Kroki extension to render diagrams (support BlockDiag, SeqDiag, ActDiag, NwDiag, C4, Ditaa, Erd, GraphViz, Mermaid, Nomnoml, PlantUML, SvgBob and UMLet diagrams!)
2.0.0
• Load additional languages for highlight.js (using :highlightjs-languages: attribute)
• Upgrade to Asciidoctor.js 2.0.3
• The default safe mode is now safe (was secure)
Source Manifest.json
Similar Extensions
PlantUML Visualizer 20,000+ 6 ★ 419KiB
Markdown Viewer 20,000+ 352 ★ 2.36MiB
Octotree - GitHub code tree 20,000+ 1139 ★ 3.54MiB
Vimium 20,000+ 4468 ★ 272KiB
Markdown Here 20,000+ 367 ★ 534KiB
Sourcegraph 20,000+ 169 ★ 8.22MiB
JetBrains Toolbox Extension 20,000+ 119 ★ 243KiB
Markdown Preview 20,000+ 13 ★ 31.09KiB
Talend API Tester - Free Edition 20,000+ 4243 ★ 5.09MiB
PlantUML Viewer 20,000+ 104 ★ 36.92KiB
Recx Security Analyser 20,000+ 11 ★ 71.46KiB
mermaid-diagrams 20,000+ 6 ★ 436KiB
Copy as AsciiDoc 20,000+ 0 ★ 470KiB
Simple WebSocket Client 20,000+ 97 ★ 53.95KiB
LiveReload 20,000+ 808 ★ 60.78KiB
Refined GitHub 20,000+ 213 ★ 572KiB
OctoLinker 20,000+ 110 ★ 184KiB
wasavi 20,000+ 141 ★ 475KiB
Markdown Editor 20,000+ 28 ★ 1.83MiB
Markdown Diagrams 20,000+ 10 ★ 155KiB
Gitpod 20,000+ 52 ★ 287KiB
MarkDownload - Markdown Web Clipper 20,000+ 146 ★ 403KiB
Joplin Web Clipper 20,000+ 96 ★ 120KiB
Markdown Preview Plus 20,000+ 234 ★ 2.24MiB
User reviews
Paul Brookes (ID: 000000dda176190f) Voted 5 ★ - Updated 12/02/2021
alaska Canyon (ID: 00000015a5c13dd7) Voted 5 ★ - Updated 07/09/2021
Sturt Ison (ID: 000000ef82adc780) Voted 5 ★ - Updated 11/10/2020
Holger Hoffmann (ID: 000000eae15446b9) Voted 5 ★ - Updated 07/22/2020
Michael Hunger (ID: 000000d2dfd9b067) Voted 5 ★ - Updated 04/09/2020