Microdown icon indicating copy to clipboard operation
Microdown copied to clipboard

More annotatedParagraph

Open Ducasse opened this issue 1 year ago • 0 comments

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}

Ducasse avatar Aug 09 '24 08:08 Ducasse