header_attributes, link_attributes and a few more (div, span etc) are supported on normal markdown. but currently not on the emphasis element.
why aren't attributes supported in "normal" markdown?John MacFarlane schrieb am Freitag, 21. August 2020 um 22:51:31 UTC+2:
You're doing it right -- but currently no format supports
both yaml metadata and attributes.
When we add suppport for yaml metadata blocks to commonmark,
you'll be able to use that.
Christian Müller <ch_...-S0/GAf8tV78@public.gmane.org> writes:
> I would like to use attributes like the following
>
> *something*{.timing}
>
> which should render to
>
> <em class="timing">something</em> or alternatively <span
> class="timing"><em>something</em></span>
>
> According to documentation I need the attributes extension. When I do --from=markdown+attributes
> I get
>
> The extension attributes is not supported for markdown
>
> When I try commonmark --from=commonmark+attributes instead it does work.
> However, I also need the Yaml meta data block. --from=commonmark+attributes+yaml_metadata_block
> yields
>
> The extension yaml_metadata_block is not supported for commonmark
>
> Am I doing something wrong? I'd rather stay with markdown (it's an older
> document)
>
> (using the official pandoc build for windows)
>
> pandoc.exe 2.10.1
> Compiled with pandoc-types 1.21, texmath 0.12.0.2, skylighting 0.8.5
>
> --
> 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a0460a16-04eb-4ff8-8159-4a22138967b7o%40googlegroups.com.