public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Adding attributes to definition lists using pandoc
@ 2022-07-13 14:18 A A
       [not found] ` <CAMwawgOyf796=sXy5Zt+T1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: A A @ 2022-07-13 14:18 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

Dear All,

I would like to ask whether it is possible to assign attributes,
identifiers or key-value pairs to definition lists as follows in pandoc:

---
title: my title
author: bob marley
---

# Header {#identifier .class key=value}

Some text

{.glossary}
Term 1
: Definition 1

Term 2
: Definition 2

Compiling the above with pandoc -f markdown -t html .\definition-lists.md
generates the following:

<h1 class="class" data-key="value" id="identifier">Header</h1>
<p>Some text</p>
<p>{.glossary} Term 1 : Definition 1</p>
<dl>
<dt>Term 2</dt>
<dd>
Definition 2
</dd>
</dl>

The attributes on the header are getting picked up by pandoc, but not on
the definition list. What am I doing wrong here?

Regards,

Amine

-- 
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/CAMwawgOyf796%3DsXy5Zt%2BT1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 5012 bytes --]

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

end of thread, other threads:[~2022-07-15  9:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 14:18 Adding attributes to definition lists using pandoc A A
     [not found] ` <CAMwawgOyf796=sXy5Zt+T1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-13 14:29   ` Sukil Etxenike arizaleta
     [not found]     ` <6a4255a0-557b-a182-43a8-35facb1e2788-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-07-13 14:32       ` A A
     [not found]         ` <CAMwawgOYU8Z6XZ6uMxZ5t1-47OV7FKR7640O2hSb_VHStu3yAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-13 14:42           ` Sukil Etxenike arizaleta
     [not found]             ` <b187e3c4-0026-1853-d18f-86cedce39191-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-07-13 15:01               ` A A
     [not found]                 ` <CAMwawgPPQCVG_xQfVoQD7nPqaU8ObZd+cM5gcqEXuuy3ouPBFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-13 15:14                   ` Sukil Etxenike arizaleta
     [not found]                     ` <fa49db14-b03b-f29d-32bc-daf4b80d6b39-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-07-13 15:17                       ` A A
     [not found]                         ` <CAMwawgMECRkn7n5G3cj+i=imJuUZeciPN82mVQAZZtPc7yJqRA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-15  9:28                           ` John MacFarlane

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