首页 扩展程序 Asciidoctor.js Live Preview

Asciidoctor.js Live Preview

提供方: Guillaume Grossetie
67
生产工具 15,532 位用户

插件简介

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!

WARNING: 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".

= 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

== 1.5.6.100

* Add to the rendered HTML (thanks @mattpalermo)
* Remove JQuery dependency
* Use ECMAScript 6 features to improve the code readability and structure
* Us the stylesheet query string to configure the stylesheet per document ?stylesheet=github
* Upgrade to Asciidoctor.js 1.5.6
* Allow to configure the polling to remote and local files
* Don't show document title when noheader attribute is set (thanks @mojavelinux)
* Use highlight.js as the default source-highlighter
* Add PlantUML extension to render diagram
* Load MathJax only when stem attribute is defined
* Improve the performance on the first rendering
* Improve the performance when enabling/disabling the extension
* Redesign the options page using Bulma

== 1.5.5.112

* Use the browser namespace
* Use correct config for MathJax (thanks @mojavelinux)
* Add missing images for golo, riak, maker and github themes (thanks @puffybsd)

== 1.5.5.111

* Add condition for unsupported API on Firefox Mobile

== 1.5.5.110

* Upgrade Chartist to 0.8.3
* Upgrade MathJax to 2.7.2
* Remove fragment identifier from outfilesuffix (Thanks @oncletom)
* Fix timezone regexp to handle numeric and non-latin timezones (Thanks @guziks, @stayfool, @tequlia2pop, @noah538 & @jfstn)

== 1.5.5.101

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

== 1.5.5.100

* Asciidoctor.js 1.5.5-4
* Highlight.js 9.9.0
* Font Awesome 4.7.0
* Options page now save changes automatically

== 1.5.4.111

* Fix custom attributes parsing on the options page (Thanks @wva154)

== 1.5.4.110

* 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)

== 1.5.4.100

* Asciidoctor 1.5.4
* Font Awesome 4.5.0
* MathJax 2.6.0

== 1.5.2.120

* Chart extension
* Emoji extension
* Allow attributes to be defined via URL parameters
* Add tip about enabling local file access to options page

== 1.5.2.111

* Support embedded videos
* Fix enable/disable on local files
* Font Awesome 4.3.0

== 1.5.2.100

* Asciidoctor 1.5.2
* Support :max-width: attribute
* Offline mode
* .txt files extension (configurable)

== 1.5.1.100

* Asciidoctor 1.5.1

== 1.5.0.100

* Asciidoctor 1.5.0 !
* New stylesheet with Open Source Fonts
* Better print styles
* Font Awesome 4.1
* MathJax support
* Allow custom Javascript and Stylesheet

== 0.4.0

* Upgrade to Asciidoctor 1.5.0-preview.8
* Activate includes!
* Render selection
* Match URLs that contain a query string

== 0.3.0

* Upgrade to Asciidoctor 1.5.0.preview.1
* Add integration with Font Awesome 3.2.1

== 0.2.5

* Add configuration option for specifying custom attributes
* Allow to change the theme of AsciiDoc HTML output

== 0.2.4

* Add highlight.js for syntax highlighting
* Add context menu to send the "browser content" to the Asciidoctor Editor

== 0.2.3

* Auto reload, you don’t need to refresh your browser anymore!
* Shiny icon in chrome://extensions/
* Support .asc file extension (thanks @mojavelinux)

其他信息

版本 1.5.6.100 上次更新日期 2018年5月1日 大小 6.15MiB 语言 支持1种语言 适用浏览器

谷歌浏览器Google Chrome浏览器

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