by the way:
callouts: https://docs.asciidoctor.org/asciidoc/latest/verbatim/callouts

in docbook XML it looks like this:

----
<title>Examples</title>
<para>
<programlisting language="rascal" linenumbering="unnumbered">module demo::basic::Quine

import IO;
import String;

void quine(){
  println(program); <co xml:id="CO4-1"/>
  println("\"" + escape(program, ("\"" : "\\\"", "\\" : "\\\\")) + "\";"); <co xml:id="CO4-2"/>
}

str program = <co xml:id="CO4-3"/>
"module demo::basic::Quine

import IO;
import String;

void quine(){
  println(program);
  println(\"\\\"\" + escape(program, (\"\\\"\" : \"\\\\\\\"\", \"\\\\\" : \"\\\\\\\\\")) + \"\\\";\");
}

str program ="; <co xml:id="CO4-4"/></programlisting>
</para>
</formalpara>
<calloutlist>
<callout arearefs="CO4-3">
<para>A remarkable point in the code: the string variable <literal>program</literal> has as value
the text of the module <literal>Quine</literal> upto here.</para>
</callout>
----

Op maandag 30 mei 2022 om 20:50:29 UTC+2 schreef Jasper Timmer:
I'm trying to convert some asciidoc documentation to markdown. I found this snippet online: https://tinyapps.org/blog/201701240700_convert_asciidoc_to_markdown.html

works pretty darn well :) only callouts are not preserved. They just completely disappear. How can I fix that?

I installed latest deb from github.

Thanks! 
Jasper

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0748d081-5c90-4212-99e2-98b70cfc1da2n%40googlegroups.com.