Skip to content

Instantly share code, notes, and snippets.

@monadplus
Last active November 12, 2019 21:49
Show Gist options
  • Save monadplus/a86548930b9020d595124514ad3081f5 to your computer and use it in GitHub Desktop.
Save monadplus/a86548930b9020d595124514ad3081f5 to your computer and use it in GitHub Desktop.
Pandoc: from markdown to html slides
# Markdown -> html (using slidy)
$ pandoc -t slidy -s -o slides.html slides.md

# Markdown -> html (using slidy on a url) 
$ pandoc -f markdown -t slidy -s -o slides.html https://github.com/Gabriel439/slides/raw/master/nix-internals/slides.md

% Pandoc: example % Arnau Abella % Tue Nov 12 19:38:08 CET 2019

First slide

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut...

forever :: (Applicative f) => f a -> f b
forever a = let a' = a *> a' in a' 
  • List 1
    • List 1.1
    • List 1.2
  • List 2

Beautiful landscape

Very important link

  • List 1
    • List 1.1
    • List 1.2
  • List 2

Second Slide

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut...

Subtitle

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut...

Last slide

End.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment