would allow to use many different annotations, but needs post processing before rendering with Earmark
Option annotations defaulting to nil
If annotations is set to e.g. "%%", then lines starting with %% shall create an annotation to the node after/before this line
Several Ideas come to mind
Option
annotations
defaulting tonil
Ifannotations
is set to e.g."%%"
, then lines starting with%%
shall create an annotation noderesult
would allow to use many different annotations, but needs post processing before rendering with
Earmark
Option
annotations
defaulting tonil
Ifannotations
is set to e.g."%%"
, then lines starting with%%
shall create an annotation to the node after/before this lineresult
Maybe the simplest and also best to understand approach would be to attach the annotation on a lexical level (but not on inline)
would then result in
N.B. We keep the
%%
to support different kinds of annotations to mix for postprocessing asEarmark
supports an arbitrary number of post processors.