Go to file
2017-08-17 15:59:04 +02:00
app fixed errors 2017-08-17 15:59:04 +02:00
.gitignore added .gitignore 2017-07-25 11:59:25 +02:00
LICENSE initial 2017-07-25 11:56:39 +02:00
pandoc-slide-filter.cabal added Cols, fixed Media 2017-08-17 14:13:39 +02:00
README.md updated README.md 2017-07-27 16:45:24 +02:00
Setup.hs initial 2017-07-25 11:56:39 +02:00
stack.yaml fixed errors 2017-08-17 15:59:04 +02:00

pandoc-slide-filter

Collection of pandoc-filters for our reveal-js slides.

How to build

  1. install stack and do a stack setup
  2. clone this repository
  3. do a stack build or stack install

stack build builds the files but leaves them in .stack-work/dist/$OS/Cabal-$Cabalversion/build/$exe-dir/$exe-name. stack install installs them into $HOME/.local/bin (or similar on other OSes).

What is what?

Media

support for

  • ![](foo.aac){#audio}
  • ![](foo.mp4){#video}
  • ![](foo.png){#img}
  • ![](foo.svg){#svg}
  • ![](foo.html){#demo}
  • Automatic detection of filetypes based on file-extensions
    • Id's may be changed/omitted in this case

Styling

support for

  • <div id="col" .w50></div>
  • better code-blocks
  • <div class="fragment"></div> region revealed after click
  • <div class="frame"></div> region revealed and then vanishes on next click
  • []{.fragment} same for inline-objects
  • []{.frame} same for inline-objects
  • []{#hspace width=100px} manual spacing
  • []{#vspace height=100px} manual spacing

Quiz

support for

  • [answer-text [with some hover-tooltip]{.tooltip}]{.answer .right width=100px}
  • [answer-text [and even $\latex$]{.tooltip}]{.answer .wrong}
  • [simple answer]{.answer .right}

Note: Tooltip-Syntax has changed.

Clean

Small filter for cleaning empty Blocks if they get generated by accident.