--- author: Jan Christoph Ebersbach date: 2020-07-26 title: mdshow subtitle: Turn markdown files into beautiful presentations quickly. keywords: slides slideshow presentations markup markdown revealjs pandoc fontawesome slideNumber: False theme: simple # - Markdown file format: https://pandoc.org/MANUAL.html#pandocs-markdown # - Example presentation: ~/.config/mdshow/scaffold.md # - Revealjs documentation: https://revealjs.com/ # - Themes: ~/.config/mdshow/reveal.js/dist/theme/ # - Font Awesome icons: https://fontawesome.com/ # - Chart.js: https://www.chartjs.org/docs/ # - Default settings: ~/.config/mdshow/defaults.yaml # - Default CSS: ~/.config/mdshow/defaults.css --- # Agenda 1. Intro mdshow 2. Basics 3. Incremental Display 4. Backgrounds 5. Pictures and Icons 6. Advanced Formatting 7. Charts # Intro mdshow > Turn markdown files into beautiful presentations quickly. ## Markdown `mdshow` is built to quickly turn ideas into beautiful presentations. The text-based [markdown format](https://daringfireball.net/projects/markdown/) is the tool of choice to do just that! ## Features - Built with [reveal.js 4.0](https://revealjs.com/) and [pandoc 2.9](https://pandoc.org/) - Focus: stays out of the way - Enterprise: theming and PDF conversion - Setup: super fast - Presentation: looks great and offers the power of the browser at your fingertips ## Keybindings - `` advance to next slide - `` advance to previous slide - `` enter full-screen mode - `` show speaker notes - `` enter slide overview and `` to show selected slide - `` or `` zoom into slide ## Examples - [Introduction video to mdshow](https://youtu.be/ZNXvQGsk_wA) - [Example HTML presentation](https://mdshow.e-jc.de/) - [Example PDF](./examples/slides.pdf) - [Example Markdown](https://raw.githubusercontent.com/jceb/mdshow/master/examples/slides.md) --- See for yourself. # Basics ## Headings

h1

h2

### h3 --- No heading. ## Hidden slide{data-visibility="hidden"} ## Text formatting Regluar, _italic_, **bold**, and underlined. ## Unordered List - Item 1 - Item 2 - Item 3 ## Ordered List 1. Item 1 2. Item 2 3. Item 3 ## Links - [Text link](https://github.com/jceb/mdshow) - Image link: [![](https://images.unsplash.com/photo-1595503240812-7286dafaddc1?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=640){width=30%}](https://unsplash.com/photos/x9yfTxHpj5w) ## Quotes > Famous Quote by Someone ## Code Highlighting ```javascript function hello(msg) { alert(`Hello ${msg}`); } hello("world!"); ``` ## Code Highlighting with Line Numbers
function hello(msg) {
  alert(`Hello ${msg}`)
}

hello('world!');
## Code Highlighting with highlighted Line
function hello(msg) {
  alert(`Hello ${msg}`)
}

hello('world!');
## Math formulas `$$ \sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi^2}{6} $$` `$$ e^{\pi i}=-1 $$` ## Table | Tables | Are | Cool | | ------------- | :-----------: | ----: | | col 3 is | right-aligned | $1600 | | col 2 is | centered | $12 | | zebra stripes | are neat | $1 | ## Columns :::::: {.flex .align-center .justify-around} ::: Col1 - Column 1 - Column 1 - Column 1 ::: ::: Col2 - Column 2 - Column 2 - Column 2 ::: ::: Col3 - Column 3 - Column 3 - Column 3 ::: :::::: # Animation ## Incremental Lists ::: incremental - Item 1 - Item 2 - Item 3 ::: ## Fragments :::::: {.flex .align-center} ![](https://images.unsplash.com/photo-1593642702821-c8da6771f0c6?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=640){width=50%} ::: fragment ![](https://images.unsplash.com/photo-1587613864521-9ef8dfe617cc?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=640){width=50%} ::: :::::: ## Breaks - Item 1 . . . - Item 2 - Item 3 ## Animated List{data-auto-animate=1} - Item 1 - Item 3 - Item 4 ## Animated List{data-auto-animate=1} - Item 1 - Item 2 - Item 3 - Item 4 ## Animated Colored Boxes ## Animated Colored Boxes{data-auto-animate=1} :::::: {.flex .align-center .justify-around}
App 1
App 2
Circle
:::::: ## Animated Colored Boxes{data-auto-animate=1} :::::: {.flex .align-center .justify-around}
Circle
App 2
App 1
:::::: # Backgrounds ## Slide with background image{data-background-image="https://images.unsplash.com/photo-1499892477393-f675706cbe6e?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=640"} ## Slide with colored background{data-background-color="#78a5e9"} # Pictures and Icons ## Picture ![](https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=640){width=50%} ## Font Awesome Icon ![](fas fa-smile) # Advanced Formatting ## Colored text ## Font Awesome Icon with Color ![](fas fa-smile) ## Font Awesome Stacked Icons ::: {.flex .justify-around .align-center} ::: ## FontAwesome Bullet Icons
  • ![](fad fa-badge-check) Regular bullet icon
  • ![](fad fa-recycle) Regular bullet icon
  • Stacked bullet icon
## Box Shadow ::: {.box-shadow-trbl} Shadow top, right, bottom, left. ::: ::: {.box-shadow-rbl} Shadow right, bottom, left. ::: ::: {.box-shadow-rb} Shadow right, bottom. ::: ::: {.box-shadow-bl} Shadow bottom, left. ::: ## Colored Boxes :::::: {.flex .align-center .justify-around}
App 1
App 2
Circle
:::::: ## Font Awesome Buttons :::::: {.flex .align-center .justify-around .margin-tb-5rem}
![](fas fa-thumbs-up)
![](fas fa-thumbtack)
![](fas fa-headphones)
:::::: ## Picture Buttons :::::: {.flex .align-center .justify-around .margin-tb-6rem}
:::::: # Charts via [chart.js](https://www.chartjs.org/) ## Bar Chart ## Radar chart # Thank you

for using [mdshow](https://github.com/jceb/mdshow)