Reveal.js

R Markdown

You can write presentations in R Markdown and export them to Reveal.js. Good tutorials for this are here and here, and the documentation with all options is here. To export the slides, you can run echo "require(rmarkdown); render('FILENAME.md', output_file='index.html')" | R --vanilla.

To have a double column layout, you can use a stylesheet like

.container{
    display: flex;
}
.col{
    flex: 1;
}

then, in the R Markdown file,

::: {.container}
:::: {.col}
Column 1 Content
::::
:::: {.col}
Column 2 Content
::::
:::

To get syntax highlighting, you need to specify the language, e.g. ```C void greet() { std::cout << "Hello" << std::endl; } ```