Grep forĀ fenced_code_attributes in the manual.

On Sun, May 2, 2021, 20:36 Dominik Heinz <domi.hz96-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hello,

I am using pandoc to convert from markdown to html.
The markdown document I am processing contains both, inline code blocks (single `at start and end) and also normal codeblocks (triple ```at start and end).
Pandoc wraps both of these in <code></code> tags as to be expected.
However, since I want to style them differently later with CSS, I need a way to differentiate between them. Is there a way to tell pandoc to add a class or something like that to the code tag, when its an inline code block?
I didn't find anything in the official documentation on how to achieve this.
Any help is appreciated.

Cheers.

--
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-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ca5c7bce-bd16-420e-8e14-274f502207f7n%40googlegroups.com.

--
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/CAK0LiykNeu1wkPP9TsB92OrDK7LNdneicrXFADCU-aR2rbz7Cw%40mail.gmail.com.