-
|
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
fragileoption on your frame:Both
frameandmarkdownare buffered environments, i.e. all text inside of them is read into a variable first and only then processed by TeX. However, whereasframebuffers the text as TeX would, i.e.\commandis recognized as a command,markdownuses a different catcode regime, where most of the text is kept as-is, i.e.\commandis recognized as regular text. Once a text has been buffered byframe, it cannot be correctly re-read bymarkdown.Spec…