Microdown
Microdown copied to clipboard
More annotatedParagraph
Task 2.
A first version
!!note texte
should generate
\begin{note}
texte
\end{note}
!!important texte
should generate
\begin{important}
texte
\end{important}
Points to consider
If the user writes
!!imporTant texte
we still generate
\begin{important}
fooooooo texte
\end{important}
If the user writes
!!Foooo texte
we still generate
\begin{note}
Foooo texte
\end{note}
For later
We can extend it so that if the
\newenvironment{annotatedParagraph}{% \begin{leftbar}\textsf{\textbf{#1}}\quad }{\end{leftbar}}
!! Undefined
texte
generates
\begin{annotatedParagraph}{Undefined}
texte
\end{annotatedParagraph}