public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Captions for code listings, lists, and custom divs
@ 2022-07-26 11:33 name name
       [not found] ` <0e1561aa-e85a-452f-bed7-cce80d06bf97n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: name name @ 2022-07-26 11:33 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]

Is it somehow possible to specify captions for code listings, lists and 
custom divs the same way as for tables?

Something like this:

    ~~~
    // some code
    ~~~

  Listing:  Demonstration of fenced code block

... which will be converted into HTML like

    <div>
        <p class="caption>Demonstration of fenced code block</p>
        <pre><code>// some code</code></pre>
    </div>

-- 
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/0e1561aa-e85a-452f-bed7-cce80d06bf97n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1386 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-26 21:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 11:33 Captions for code listings, lists, and custom divs name name
     [not found] ` <0e1561aa-e85a-452f-bed7-cce80d06bf97n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-07-26 11:35   ` name name
2022-07-26 14:55   ` John MacFarlane
     [not found]     ` <8D93EC92-4B15-4AF6-B43D-A6E8CF061352-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-07-26 21:01       ` BPJ

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).