pandoc/test/command/645.md
John MacFarlane e76b672414 LaTeX writer: don't use lstinline it \item[..].
If you do, the contents of item disappear or are misplaced.
Use `\texttt` instead.

Closes #645.
2017-04-28 12:03:59 +02:00

12 lines
286 B
Markdown

Don't use listings commands in \item[..] context:
```
% pandoc -t latex
`--foo` **BAR**
: Enables the foo feature with **BAR** as its flavour.
^D
\begin{description}
\item[\texttt{-\/-foo} \textbf{BAR}]
Enables the foo feature with \textbf{BAR} as its flavour.
\end{description}
```