* how to implement callouts in docbook -> markdown @ 2022-05-30 18:50 Jasper Timmer [not found] ` <ed4ffa93-0bb1-4e47-9f23-7e81f0fd63dfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Jasper Timmer @ 2022-05-30 18:50 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 745 bytes --] 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ed4ffa93-0bb1-4e47-9f23-7e81f0fd63dfn%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1119 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <ed4ffa93-0bb1-4e47-9f23-7e81f0fd63dfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: how to implement callouts in docbook -> markdown [not found] ` <ed4ffa93-0bb1-4e47-9f23-7e81f0fd63dfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2022-05-30 18:57 ` Jasper Timmer 0 siblings, 0 replies; 2+ messages in thread From: Jasper Timmer @ 2022-05-30 18:57 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1804 bytes --] 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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. [-- Attachment #1.2: Type: text/html, Size: 4301 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-30 18:57 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-05-30 18:50 how to implement callouts in docbook -> markdown Jasper Timmer [not found] ` <ed4ffa93-0bb1-4e47-9f23-7e81f0fd63dfn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2022-05-30 18:57 ` Jasper Timmer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).