Browse Source

quickstart

master
test2 5 years ago
parent
commit
facaa93598
  1. 59
      asciidoc/QuickStart.adoc

59
asciidoc/QuickStart.adoc

@ -155,6 +155,35 @@ video::154836263[vimeo]
----
== Run
.run
- Create a file.adoc in mytest directory
- Paste code
[source,bash]
----
cd mytest
swarmlab-adoc
----
TIP: swarmlab-adoc convert all *.adoc files recursiva in html5 and pdf
.If you need to convert only one file
[NOTE]
====
```
docker run --rm -v $(pwd):/documents/ registry.vlabs.uniwa.gr:5080/swarmlab-asciidoctor asciidoctor --safe -b html5 -a theme=flask -a toc2 -a toc-placement=right -o ./path/to/FILENAME.html ./path/from/FILENAME.adoc
```
Please note, there is a **.** in ./path
====
== Using a web browser
You can see the file rendered as HTML just by visiting it!
== view result
.view result
@ -269,36 +298,6 @@ Embedded Vimeo video
video::154836263[vimeo]
== Run
.run
Create a file.adoc
in mytest directory
[source,bash]
----
cd mytest
swarmlab-adoc
----
TIP: swarmlab-adoc convert all *.adoc files recursiva in html5 and pdf
.If you need to convert only one file
[NOTE]
====
```
docker run --rm -v $(pwd):/documents/ registry.vlabs.uniwa.gr:5080/swarmlab-asciidoctor asciidoctor --safe -b html5 -a theme=flask -a toc2 -a toc-placement=right -o ./path/to/FILENAME.html ./path/from/FILENAME.adoc
```
Please note, there is a **.** in ./path
====
== Using a web browser
You can see the file rendered as HTML just by visiting it!
That's all folks! :-)

Loading…
Cancel
Save