asciidoc slides preview

Images

image::morpheus.jpg[]

results in:

morpheus

Background Images

image::background.jpg[background, size=cover]

results in:

Background Gifs

image::suprise.gif[background, size=cover]

results in:

Background Videos

[background-video="https://video.de/my.mp4",options="loop,muted"]

PlantUml

[graphviz]
[plantuml,alice-bob]
....
alice -> bob
....

results in:

alice-bob

Graphviz

[graphviz]
....
digraph foo {
  node [style=rounded]
  node1 [shape=box]
  node2 [fillcolor=yellow, style="rounded,filled", shape=diamond]
  node3 [shape=record, label="{ a | b | c }"]

  node1 -> node2 -> node3
}
....

results in:

diagram

Column layout

  • Edgar Allen Poe

  • Sheri S. Tepper

  • Bill Bryson

Edgar Allan Poe (/poʊ/; born Edgar Poe; Ja nuary 19, 1809 – October 7, 1849) was an American writer, editor, and literary critic.

Columns with size

  • Kotlin

  • Java

  • Scala

Programming language for Android, mobile cross-platform and web development, server-side, native, and data science. Open source forever Github.

Lists

* Im
* a
* List

results in:

  • Im

  • a

  • List

Lists

. Step 1
. Step 2
.. Step 2a
.. Step 2b
. Step 3

results in:

  1. Step 1

  2. Step 2

    1. Step 2a

    2. Step 2b

  3. Step 3

Descriptions

first term:: definition of first term
second term:: definition of second term

results in:

first term

definition of first term

second term

definition of second term

Source Code

[source, clojure]
----
(def lazy-fib
  (concat
   [0 1]
   ((fn rfib [a b]
        (lazy-cons (+ a b) (rfib b (+ a b)))) 0 1)))
----

results in:

(def lazy-fib
  (concat
   [0 1]
   ((fn rfib [a b]
        (lazy-cons (+ a b) (rfib b (+ a b)))) 0 1)))

Tables

[%header, cols=2*]
|===
|Character
|Seen in

|Donald Duck
|Mickey Mouse
|===

results in:

CharacterSeen in

Donald Duck

Mickey Mouse

Quotes

A person who never made a mistake never tried anything new.
— Albert Einstein