flobilosaurus / vscode-asciidoc-slides

Visual Studio Code extension to create reveal.js slides via asciidoc
MIT License
26 stars 10 forks source link

AsciiDoc Slides for Visual Studio Code

Azure Badge Issues Badge Rating Badge Demo Badge

Visual Studio Code extension to create reveal.js slides via asciidoc documents.

Features

Slide Preview Panel

demo slide preview panel

Open in Browser

demo open in browser

Export to reveal.js html file

Export your slides into a html file which will work locally on your computer (containing links to all required resources as scripts, styles and images).

demo export html

Export to inlined (shareable) reveal.js html file

Export your slides into an inlined html file which will work everywhere (containing all required scripts, styles and images).

restraints

Inlining currently breaks the following plugins:

Inlining currently does not work for:

Kroki integration

Draws images out of textual description of diagrams. Example:

[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
}
....

Print Slides / Export as PDF

While slides are shown in browser or exported as html/inlined html to same computer, they can transformed into a printable format via url parameter ?print-pdf. The resulting website is printable (or exportable as pdf) via default print menu of chrome/chromium browser (ctrl + p or cmd + p).