public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Sukil Etxenike arizaleta <sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Adding attributes to definition lists using pandoc
Date: Wed, 13 Jul 2022 16:29:46 +0200	[thread overview]
Message-ID: <6a4255a0-557b-a182-43a8-35facb1e2788@gmail.com> (raw)
In-Reply-To: <CAMwawgOyf796=sXy5Zt+T1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

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

According to the manual: no, but you can enclose it in a div and give 
that div the attributes you want.

Hth,

Sukil


El 13/07/2022 a las 16:18, A A escribió:
>
> 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 
> <https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOyf796%3DsXy5Zt%2BT1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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/6a4255a0-557b-a182-43a8-35facb1e2788%40gmail.com.

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

  parent reply	other threads:[~2022-07-13 14:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-13 14:18 A A
     [not found] ` <CAMwawgOyf796=sXy5Zt+T1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-13 14:29   ` Sukil Etxenike arizaleta [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6a4255a0-557b-a182-43a8-35facb1e2788@gmail.com \
    --to=sukiletxe-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).