76a4e7127b
A block will be rendered as an exampleblock if the heading has class `example` and alertblock if it has class `alert`. Closes #7278.
38 lines
577 B
Markdown
38 lines
577 B
Markdown
```
|
|
% pandoc -t beamer
|
|
# Slide
|
|
|
|
Some blocks:
|
|
|
|
## example block title {.example}
|
|
|
|
text in block
|
|
|
|
## alert block title {.alert}
|
|
|
|
text in block
|
|
|
|
## block title
|
|
|
|
text in block
|
|
^D
|
|
\begin{frame}{Slide}
|
|
\protect\hypertarget{slide}{}
|
|
Some blocks:
|
|
|
|
\begin{exampleblock}{example block title}
|
|
\protect\hypertarget{example-block-title}{}
|
|
text in block
|
|
\end{exampleblock}
|
|
|
|
\begin{alertblock}{alert block title}
|
|
\protect\hypertarget{alert-block-title}{}
|
|
text in block
|
|
\end{alertblock}
|
|
|
|
\begin{block}{block title}
|
|
\protect\hypertarget{block-title}{}
|
|
text in block
|
|
\end{block}
|
|
\end{frame}
|
|
```
|