Skip to content

Create asciidoc presentations with revealjs in VSCode. This repository is a clone of flobilosaurus/vscode-asciidoc-slides created as the plugin stopped being maintained.

License

Notifications You must be signed in to change notification settings

bzzzil/vscode-asciidoc-presentation

 
 

Repository files navigation

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

  • Shows reveal.js slides of asciidoc document beside it.
  • Preview is updated on every save of base document.
  • Preview is scrolled to the slide of cursor on every save of base document.

Open in Browser

demo open in browser

  • Show reveal.js slides of asciidoc document in browser.
  • Website in browser is updated on every save of base document.
  • Website in browser is scrolled to the slide of cursor on every save of base document.

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:

  • notes plugin (reader view)

Inlining currently does not work for:

  • Background Images
  • Background Videos
  • Background IFrames
  • Probably a lot more ...

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).

About

Create asciidoc presentations with revealjs in VSCode. This repository is a clone of flobilosaurus/vscode-asciidoc-slides created as the plugin stopped being maintained.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.8%
  • CSS 14.5%
  • HTML 5.8%
  • SCSS 3.8%
  • TypeScript 1.4%
  • EJS 0.7%