How can we use LaTeX macros within a Markdown environment?

I write comprehensive documentation in LaTeX and use the markdown package for quick writing and to get easily readable source code.

Markdown simplifies writing. But how can I still use LaTeX macros within Markdown text?

\documentclass{article}
\usepackage[tightLists=false]{markdown}
\begin{document}
\begin{markdown}
# Workflows
Two options:

- Embedding Markdown in \LaTeX
- Using Pandoc with \LaTeX\ inside Markdown
\end{markdown}
\end{document}


This gives:

I did not yet find a way in the markdown manual or in markdown.lua to disable rendering the backslash and to let macros be expanded. Do you know a way?

Use the option hybrid=true:

\documentclass{article}
\usepackage[tightLists=false,hybrid=true]{markdown}

\begin{document}

\begin{markdown}
# Workflows
Two options:

- Embedding Markdown in \LaTeX
- Using Pandoc with \LaTeX\ inside Markdown
\end{markdown}
\end{document}


See page 10 in the manual:

• Thanks! Looks obvious now, I just did not find this in the manual, neither by browsing nor by keyword search for "macro" or "backslash" with that phrasing in the manual. – Stefan Kottwitz Jun 14 '17 at 10:06