That's interesting, but it doesn't seem to work with pandoc's markdown, which is what I'm using for the moment...

On Mon, 18 Jul 2022 at 20:06, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
In commonmark with the generic attributes extension (enabled in commonmark_x), you can put different attributes on different lines:

{.class}
{key=value oherkey=othervalue}
{more="of this"}
```
my code block
```


> On Jul 18, 2022, at 8:02 PM, A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> If you have many attributes and want to keep the markdown source clean, I don't see how that can be avoided....
>
>
> On Mon, 18 Jul 2022 at 18:16, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> It will work with pandoc's markdown parser, but not with commonmark and variants.  For maximum portability and future-proofing, you might want to avoid line breaks in attributes.
>
>
> > On Jul 18, 2022, at 5:24 PM, Sukil Etxenike arizaleta <sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> > Hi,
> >
> > Yes, you can. I've tried with Pandoc 2.18 and it worked fine, except in one case where I don't know what I did.
> >
> > Hth,
> >
> > Sukil
> >
> >
>
> --
> 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/C46B3BA1-AA71-49DE-A15B-299173A4F045%40gmail.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/CAMwawgMRm0o1YS6i%2Bdchx1YHy4q03wQbEuzRGbfiuO6qaep9dw%40mail.gmail.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/47D489F7-4FC9-444A-901B-A42FE3AB3A6A%40gmail.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/CAMwawgMWrMLyYRTmF6A36HB4heJnT03iXvGsKaxt_8pC6aG4Zw%40mail.gmail.com.