Browse Source

quickstart

master
test2 5 years ago
parent
commit
de26f4fa00
  1. 42
      asciidoc/QuickStart.adoc

42
asciidoc/QuickStart.adoc

@ -144,11 +144,11 @@ video::video_file.mp4[width=640, start=60, end=140, options=autoplay]
Embedded Youtube video
video::rPQoq7ThGAU[youtube]
video::axMLZZNINCU[youtube]
Embedded Vimeo video
video::67480300[vimeo]
video::154836263[vimeo]
@ -254,18 +254,19 @@ image::sunset.jpg[Sunset,300,200]
video::video_file.mp4[]
video::video_file.mp4[width=640, start=60, end=140, options=autoplay]
Embedded Youtube video
video::rPQoq7ThGAU[youtube]
video::axMLZZNINCU[youtube]
Embedded Vimeo video
video::67480300[vimeo]
video::154836263[vimeo]
== Run
@ -287,36 +288,9 @@ docker run --rm -v $(pwd):/documents/ registry.vlabs.uniwa.gr:5080/swarmlab-asci
Please note, there is a **.** in ./path
====
== Setup live preview Using a web browser
All you need to preview an AsciiDoc document in a web browser is to install
- the https://chrome.google.com/webstore/detail/asciidoctorjs-live-previe/iaalpfgpbocpdfblpnhhgllgbdbchmia[Chrome extension]
- or the https://addons.mozilla.org/en-US/firefox/addon/asciidoctorjs-live-preview[Firefox add-on]
- or the https://addons.opera.com/fr/extensions/details/asciidoctorjs-live-preview[Opera extension]
Then you can see the AsciiDoc file rendered as HTML just by visiting it!
.Live Preview
image:tiled-editor-and-web-preview.png[alt="Swarmlab"]
=== Installing the Chrome Extension
. Download https://github.com/asciidoctor/asciidoctor-chrome-extension/releases/download/v1.5.4.100/asciidoctor-chrome-extension.nex[asciidoctor-chrome-extension.nex]
. Open chrome://extensions
. Drag'n'drop the `.nex` file into the page to install
=== Installing the Firefox Extension
. Download https://github.com/asciidoctor/asciidoctor-firefox-addon/releases/download/v0.5.3/asciidoctor-firefox-addon-0.5.3-signed.xpi[asciidoctor-firefox-addon.xpi]
. Open the file with Firefox to install
=== Installing the Opera Extension
== Using a web browser
. Dowload https://github.com/asciidoctor/asciidoctor-chrome-extension/releases/download/v1.5.4.100/asciidoctor-chrome-extension.nex[asciidoctor-chrome-extension.nex]
. Open opera://extensions
. Drag'n'drop the `.nex` file into the page to install
You can see the file rendered as HTML just by visiting it!
That's all folks! :-)

Loading…
Cancel
Save