pandoc/test/command/4016.md
John MacFarlane 5f9f458df3 LaTeX reader: handle % comment right after command.
For example

    \emph%
    {hi}
2017-10-31 11:31:35 -07:00

47 lines
589 B
Markdown

```
pandoc -t beamer
# Level 2 blocks
<div class="columns">
<div class="column" width="40%">
## Block one
- Item
</div>
<div class="column" width="60%">
## Block two
- Item
</div>
</div>
^D
\begin{frame}{%
\protect\hypertarget{level-2-blocks}{%
Level 2 blocks}}
\begin{columns}[T]
\begin{column}{0.40\textwidth}
\begin{block}{Block one}
\begin{itemize}
\tightlist
\item
Item
\end{itemize}
\end{block}
\end{column}
\begin{column}{0.60\textwidth}
\begin{block}{Block two}
\begin{itemize}
\tightlist
\item
Item
\end{itemize}
\end{block}
\end{column}
\end{columns}
\end{frame}
```