tedbergeron / Asciidoctor-LivePreview-Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a Local Website or Wiki

This repo is designed to be downloaded and viewed locally with the Asciidoctor.js Live Preview extension for Chrome.

Set the options for the Chrome extension

  • Safe mode: unsafe

  • Preview .txt files: [check] (so you can use these .txt files in addition to .adoc)

  • Theme / Stylesheet: (pick one)

Click save.

Open the index.txt file in Chrome to start previewing it.

Have your text editor open right next to Chrome so you have a side-by-side editor|viewer. Each time you save changes to the text files, you’ll see your changes rendered in Chrome.

Tip
Pro Tip: Bookmark your AsciiDoc text file. Then write links to all your other docs creating a simple wiki or intranet site on your computer; powered by this browser extension and a text editor.

Asciidoctor.js Live Preview is also available for Firefox but it is not as mature as the Chrome version as of the time of this writing. But I’m sure it will catch up quickly.

Once you have the browser plug in you can test it online here: http://tedbergeron.github.io/Asciidoctor-LivePreview-Website/index.txt

About

License:GNU General Public License v2.0