-
The following snippet will not work: \begin{frame}
\begin{markdown}
- A markdown list
\end{markdown}
\end{frame} and end with the following error:
Why is that? I'm unfamiliar with latex internals and I'm not sure what is going on here... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@Ninlives Hi, thanks for using the Markdown package.
You may need to use the \begin{frame}[fragile]
\begin{markdown}
- A markdown list
\end{markdown}
\end{frame}
Both Specifying the |
Beta Was this translation helpful? Give feedback.
@Ninlives Hi, thanks for using the Markdown package.
You may need to use the
fragile
option on your frame:Both
frame
andmarkdown
are buffered environments, i.e. all text inside of them is read into a variable first and only then processed by TeX. However, whereasframe
buffers the text as TeX would, i.e.\command
is recognized as a command,markdown
uses a different catcode regime, where most of the text is kept as-is, i.e.\command
is recognized as regular text. Once a text has been buffered byframe
, it cannot be correctly re-read bymarkdown
.Spec…