Last active
October 18, 2024 18:47
-
-
Save michal-h21/5d375c79533969b7f4b5408094dbe105 to your computer and use it in GitHub Desktop.
Example of interaction between the Markdown package and Beamer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[aspectratio=169,t]{beamer} | |
\usetheme{metropolis} | |
\usepackage{markdown} | |
\long\def\markdownRendererHeadingTwo#1#2\markdownRendererThematicBreak{ | |
\begin{frame}{#1} | |
#2 | |
\end{frame} | |
} | |
\title{Writing Beamer Slides with Markdown} | |
\author{Michal} | |
\begin{document} | |
\maketitle | |
\frame{\tableofcontents} | |
\begin{markdown} | |
# Hello | |
## This is a test slide | |
- some stuff | |
- more stuff | |
---- | |
## Another slide | |
- more stuff on slides | |
---- | |
## What about verbatim? | |
```latex | |
\textit{hello verbatim} | |
``` | |
---- | |
\end{markdown} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment