Quickstart
To reproduce the example shown in View AsciiDoc as HTML5 on the features page, do the following:
-
Install the Asciidoctor Browser Extension using the Install page
-
Create
ex-writing-zen.adoc
from the text below or download it.ex-writing-zen.adoc= AsciiDoc is Writing Zen Doc Writer <doc.writer@example.com> :icons: font _Zen_ in the *art* of writing `plain text` with https://asciidoc.org[AsciiDoc] TIP: Use https://asciidoctor.org[Asciidoctor] for the best AsciiDoc experience.footnote:[Not to mention the best looking output!] Then icon:comments[role=aqua] about it! == Sample section . item ** point ** point + NOTE: Auto numbered, auto indented . item [,ruby] ---- puts "Hello, World!" ----
-
Open
ex-writing-zen.adoc
in your browser. You may either:-
Open it by pressing Control+O
-
Drag and drop
ex-writing-zen.adoc
onto your browser -
Double-click
ex-writing-zen.adoc
For double-click to work, you may need to change your computer settings to associate .adoc
with your web browser.
-
-
Try different features with the following:
-
Toggle the Asciidoctor Browser Extension activation by clicking its extension icon in the browser bar.
You’ll see the AsciiDoc behind the rendered HTML page.
-
Change the Option: Theme/Stylesheet and reload.
-
Change the Theme/Stylesheet using a query parameter. Add
stylesheet=github
to the end of the URL. -
Edit the AsciiDoc file and save. Observe it update.
-
Add
toc=left
to Option: Custom Attributes String, and reload.
-
-
Next steps
After the above, you may like to try the exercise in the Option: Diagrams Extension.