pandoc/test/command/1710.md
John MacFarlane 17725a0661 Beamer: put hyperlink after \begin{frame}.
and not in the title.  If it's in the title, then we get
a titlebar on slides with the `plain` attribute, when
the id is non-null.  This fixes a regression from 1.9.x.

Closes #4307.
2018-03-13 10:03:51 -07:00

88 lines
1.1 KiB
Markdown

```
% pandoc -t revealjs
# Slide one
<div class="columns">
<div class="column" width="40%">
- a
- b
</div>
<div class="column" width="40%">
- c
- d
</div>
<div class="column" width="10%">
ok
</div>
</div>
^D
<section id="slide-one" class="slide level1">
<h1>Slide one</h1>
<div class="columns">
<div class="column" style="width:40%;">
<ul>
<li>a</li>
<li>b</li>
</ul>
</div><div class="column" style="width:40%;">
<ul>
<li>c</li>
<li>d</li>
</ul>
</div><div class="column" style="width:10%;">
<p>ok</p>
</div>
</div>
</section>
```
```
% pandoc -t beamer
# Slide one
<div class="columns">
<div class="column" width="40%">
- a
- b
</div>
<div class="column" width="40%">
- c
- d
</div>
<div class="column" width="10%">
ok
</div>
</div>
^D
\begin{frame}{Slide one}
\protect\hypertarget{slide-one}{}
\begin{columns}[T]
\begin{column}{0.40\textwidth}
\begin{itemize}
\tightlist
\item
a
\item
b
\end{itemize}
\end{column}
\begin{column}{0.40\textwidth}
\begin{itemize}
\tightlist
\item
c
\item
d
\end{itemize}
\end{column}
\begin{column}{0.10\textwidth}
ok
\end{column}
\end{columns}
\end{frame}
```