I use todonotes, especially in the coordination of bigger projects. Especially in the drafting and quick brainstorming phase I'd love to be able to just use markdown inside todonotes to not waste time with nesting itemize etc.
Sadly, i can't seem to make it work: my many attempts to put a markdown env inside a todonote like this
\todo[...]{\begin{markdown}...\end{markdown}}
have failed with many errors (mostly seems to be runaway arg) sounding something like this:
Argument of ^^M has an extra }.
Any ideas / help / pointers?
MCVE:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{markdown}
\usepackage{todonotes}
\begin{document}
% normal markdown works:
\begin{markdown}
* woah
* bullets
\end{markdown}
% todonotes work
\todo[inline,prepend,caption={WOAH}]{yay}
% todonotes with itemize work
\todo[inline,prepend,caption={WOAH}]{yay
\begin{itemize}
\item woah
\item complicated bullets
\end{itemize}
}
% todonotes with markdown break
\todo[inline,prepend,caption={WOAH}]{nay
\begin{markdown}
* woah
* bullets easy
* boom
\end{markdown}
}
\end{document}
disable
to hide the block keeping the outline in the source. Not super fancy markdown, but nested lists, links, code etc. would be nice.