If you can read this, you probably already know how to use decker on the command line but here is an additional overview over all possible command line arguments supported by decker.
# decker example & decker tutorial
-`decker example` copies an example project to the current directory
-`decker tutorial` copies extended examples and tutorial decks to the current directory
# `decker watch` and `decker server`
-`decker watch` Builds HTML versions of all documents and then watches for document changes. Each change to a watched document triggers a rebuild. Watching can be terminated with `^C`.
-`decker server`: Like `decker watch`. Additionally a local web server is started that serves the generated HTML files. The `*-deck.html` file is openend in the browser. Changed files are reloaded in the browser. (still requires `livereloadx`)
# decker html
-`decker html` creates html files without opening a server
# decker pdf & decker pdf-decks
-`decker pdf` creates pdf files of all files
-`decker pdf-decks` creates pdf files only of the slide decks
To use `decker pdf` or `decker pdf-decks`, Google Chrome has to be installed.
**Windows:** Follow the Google Chrome installer instructions.
**MacOS:** Follow the Google Chrome installer instructions. **Google Chrome.app** has to be located in either `/Applications/Google Chrome.app` or `/Users/username/Applications/Google Chrome.app`
Alternatively you can add `chrome` to `$PATH`.
**Linux:**`chrome` has to be on `$PATH`.
# `decker clean`
Recursively removes all generated files from the current directory.
# `decker plan`
Prints a list of all source files found below the current directory.
# `decker meta`
Pretty prints all meta data that can be found in `*.yaml` files in the
current directory and below. Meta data is mainly used to perform
substitutions in Markdown documents using the Mustache templating system.
# `decker publish`
Publish the generated files to a remote location using `rsync` if the
location is specified in the meta data. The keys `rsync-destination.host`
and `rsync-destination.path` specify the publishing destination.
Navigate this presentation with the controls in the bottom-right corner, your arrow keys or the space bar.
Some explanations have examples on a separate slide. These will be arranged below the respective slide and will be indicated by a down arrow in the controls. Use the down arrow key to see them.
If you use the space bar to go through the presentation, the examples will automatically follow their explanation.
The <iclass="fas fa-bars"></i> icon in the bottom-left corner opens a menu showing a table of contents of all slides.
# Markdown Syntax {#syntax}
The Decker Slide Tool assists you in creating media-rich presentations with a few easy to use Markdown commands. This user guide will highlight some of the main styling features of Decker and provide examples on how to use each feature.
Visit [http://pandoc.org](http://pandoc.org) for additional information on Pandoc-Markdown text formatting.
# New Slides {#slides}
Heading 1 (h1) headers create new slides.
## {.split}
```markdown
# Heading 1 (h1) new slide
## Heading 2 (h2)
### Heading 3 (h3)
#### Heading 4 (h4)
```
##
## Heading 2 (h2)
### Heading 3 (h3)
#### Heading 4 (h4)
# Multicolumn Slides {#multicolumn}
```markdown
# Würzburg Sehenswürdigkeiten {layout="columns"}
## Die Residenz {.left}
Die Würzburger Residenz ist das Hauptwerk des ...
## Alte Mainbrücke {.center}
Diese erste Steinbrücke Deutschlands soll bereits um ...
## Dom St. Kilian {.right}
Ein Hauptwerk der deutschen Baukunst zur Zeit der ...
```
# Multicolumn example {layout="columns" .sub #example-multicolumn}
## Die Residenz {.left}
Die Würzburger Residenz ist das Hauptwerk des süddeutschen Barock.
## Alte Mainbrücke {.center}
Die erste Steinbrücke Deutschlands soll bereits um 1120 errichtet worden sein.
## Dom St. Kilian {.right}
Ein Hauptwerk der deutschen Baukunst und viertgrößte romanische Kirche Deutschlands.
# Top and Bottom {#topBottom}
Additionally use the `.top` and `.bottom` tags can be used.
```markdown
# Top and Bottom Example {layout="columns"}
## Top Colum {.top}
First/top column spans across the following columns.
## Left Column {.left}
## Right Column {.right}
## Third Column {.bottom}
Third/bottom column spans across the columns above.
```
# Top and Bottom Example {layout="columns" .sub #example-topBottom}
## Top Colum {.top}
First/top column spans across the following columns.
## Left Column {.left}
## Right Column {.right}
## Third Column {.bottom}
Third/bottom column spans across the columns above.
# Vertical Slides {#verticalSlides}
Add the {.sub} tag to any slide to place it below the previous slide.
```
# Vertical Slide Example {.sub}
This slide will appear below the previous slide.
```
# Vertical Slide Example {.sub}
This slide will appear below the previous slide.
# Text Emphasis {#textEmphasis}
Format text by surrounding it in appropriate symbols: