应用截图

Asciidoctor.js Live Preview截图1
Asciidoctor.js Live Preview截图2
Asciidoctor.js Live Preview截图3
Asciidoctor.js Live Preview截图4
Asciidoctor.js Live Preview截图5

详细介绍

Render AsciiDoc (.ad, .adoc, .asc, .asciidoc) as HTML inside your browser!

This project uses Asciidoctor.js to render AsciiDoc as HTML.

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

3.0.0

• Migrate to manigest v3 -- `include` won't work anymore!
• Migrate documentation to Antora: https://docs.asciidoctor.org/browser-extension/
• Reorganize use-cases to separate page, try-it-yourself to a quickstart page, diagrams try-it-yourself to a diagrams quickstart page (#652) (#654)

2.7.1

• Add `accept` header when fetching AsciiDoc content (mainly to workaround an issue on github.com)
• Update dependencies

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 excep