From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30956 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A Newsgroups: gmane.text.pandoc Subject: Re: Adding attributes to definition lists using pandoc Date: Wed, 13 Jul 2022 16:32:10 +0200 Message-ID: References: <6a4255a0-557b-a182-43a8-35facb1e2788@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000334bd605e3b0a7d3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17235"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJ77HUDRUCBB55OXOLAMGQE6HQ4CRI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jul 13 16:32:27 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f61.google.com ([209.85.210.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oBdPf-0004IR-Gv for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 13 Jul 2022 16:32:27 +0200 Original-Received: by mail-ot1-f61.google.com with SMTP id t27-20020a0568301e3b00b0061c359220ddsf4528838otr.2 for ; Wed, 13 Jul 2022 07:32:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657722746; cv=pass; d=google.com; s=arc-20160816; b=iGf3tP671rl0M/HzVC1jNu0zVV+VqBk4MqJQ12dA7qXi1IakhWYKVXYZzgP35JGlkN dir9MBG+rUt6ArnBTx9swbLJ1drT6Lc4ZD2HnlId4GjIMWiaAYbQ0eJD8yepWbBc7o35 GuSZmX63DiEItvPvOFo/a21d2iYQCOxi/ILvye+tfINBnXSpODZ2Uaikl7sjuX/pX7Mj yA11fKqP+W3qTLJdcinJ4gYG8dVYzvsv4SmNoFoM6n8NJsgkxdLXSefj4KbyPtmqIO70 rrybNCcHLm/bFksGpYoPnyAnAb0wokgy7vJk14NWuucbZNLbxzAN/J90W8mWuzuK18QZ A1Mw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=u5ziczmzY0vxE5pZHE+77drPz5tOwKAdDfp1DQ6Jots=; b=X5PKyyoZpVqJsmFQf2AlY9QymQiw2HGnaArU/q8Mf2DXupCdv1hOmKlcYa/RzDzZos o2CXdx/hhdYl8yeQE4H4qiXtYiHKM+rKB9w87FfzOyk1qaNESOqs1FCALLrSpLXYOEJQ hMRiZd4eO6AsPCS0goHI0Iwnk5Vk0J+7wR/cPmvLHQK07mH5Ch4IAyICfXMye7L+fAvx 53J/1DiFqD95N24jep+tRBiljQlaP292kxIcc2vCZaOSwzIxwR3DZQQk7CaTWtz8BE8k Cj9Y8LEYhpy4bPq232S1caPdojY3BF1zh+n/SzmDK56wu9SKKW37YGboCkam+vcxkOi7 GNqA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=C13rRrSE; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::52a as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=u5ziczmzY0vxE5pZHE+77drPz5tOwKAdDfp1DQ6Jots=; b=LkTLCRaxXHFjv2dKeHJnYaO9BwjcnICgnfDfOmNm5eNLTCYS+kc9INsLXV+byH+7Ff NIAiMcgbW/OTr0GQ4xF8D/gwAij/w4ErurRMMta7Cl6HTpRI6NluzVM22CXqEgS7vIHT L9dmuJonjk25ZHYTWF13S7bcelvI3iPoFVivyJfT1E7LSg0hCdCLAeoiRH7huU2XYEeM f76Lc/WF6Eu/+BkdUSkKl4ShkB+NgJY11v//xFb3oAbJlts2YB+mXco76dKNFIM5nSLt LTsda3XqOS9vVzPV/8F7ab0F6/5O0VKovM3VhzW0YrbbgAYkhelRn9/uxfbZJaFyQ2wo IRIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=u5ziczmzY0vxE5pZHE+77drPz5tOwKAdDfp1DQ6Jots=; b=hC19UQKuKdAKd/zyWneVD3b6vrF2+G1nbBsZdSa0MXBOwGvXC7FO1Po8uPJmCQPwGB LtleejxDdnJDokSPOQfO9pFnMNQhrUf69O/yE/qNpDZcNGL4at5DTWUUOd2NgLScXZ8o 1TX88kEij2bnHSXJY0X1WS5yN0YKb0Ia7BusTcMORdgdna17vRB4wbkh3sabTZOTjGHU lTuf6RYHD4GVQ8gS7kEs1ZJ6GL6HPaVprOmekOBUeQkI3AVt22PZjmGq6tE3SMiQpYy4 ly9Usf10CQmD2qRyZ9ZR2Bt/QBviw4nPcf+oXnyiXMbdFQDNXTmJnIlqguQaK1CX3u8C PfCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=u5ziczmzY0vxE5pZHE+77drPz5tOwKAdDfp1DQ6Jots=; b=xYAhmTt/AWI14GKRhY9w4koV/GoK/ERS5DiSdQ5qAnUupUl1UrqkCHyCuTYaKq9zBJ kQSbZNgFUm1DXlMMt8uyCmMjpL3ZzvWwQr/OK4EjtP6oOQahhJOBL8lCNNK30HswPjDi souslwbBju585dQ2sp1QyKMmQEKrTwjL90hUHdwhyfI7MNC3iSOPAc54eQKyogIgeagJ 44Z/8QmLbiCVIsRy+FvP/Ci6Y6Jv8Etyrhb7lniLqKGJhnHYLRMFas862XLuSAjcm+Wy JW570YmmVC8ILIlwEriXQREjpV+SrizYI4N9sOFcZQ9Mw23990yz/h07aEzTkCXqOJPW fobA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/uXnj5fQG6PFfBSXBgnGZOZbOfmGD3W5zfoo447OHGr8r7xMkH wEODM6ExHCnc7O+mTAXzDsQ= X-Google-Smtp-Source: AGRyM1v/XrIZ9mpg3K8gfBIZ2cXfvoHpTVc6EseMOTtfiTK6Ai9gekv802D6qx2zqC7fcBDixtElCA== X-Received: by 2002:a9d:198c:0:b0:60c:7ecc:5c19 with SMTP id k12-20020a9d198c000000b0060c7ecc5c19mr1410104otk.160.1657722746420; Wed, 13 Jul 2022 07:32:26 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:2421:b0:61c:6266:b9be with SMTP id k1-20020a056830242100b0061c6266b9bels713794ots.9.gmail; Wed, 13 Jul 2022 07:32:23 -0700 (PDT) X-Received: by 2002:a9d:12f0:0:b0:61c:537c:8d12 with SMTP id g103-20020a9d12f0000000b0061c537c8d12mr1406845otg.13.1657722743191; Wed, 13 Jul 2022 07:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657722743; cv=none; d=google.com; s=arc-20160816; b=WBExuAQpYtHPXyanj5yv5IL6vQmSIfxj+YXYLSLjcZ5Qcj7+LLLwKcQeVCDqDTF7hb rSzT9QruYfRix8xpWyzWCqCN/qqojfZZCmzEjJlHd+Oqy7qNnSA1aJKVpKLyerSZDLdE eixqe8bDUaIp0Sj8Q2lz4FfD3IWT0mPUpbdvgHFFz5dWuPolp4DG6McBJ9xl/DRd3wrV 3NjbMsZrT6Cb7FRWc6Uck6PjIJ46n9U5ryb8ubTj2kIFsGoKZeWOWCJqpfP5/XJY/PLM mxNnIPpMlhO+MvNCphsTDuzGeAqirL9S6f/2s3jqcaDH/J4TIzBT+AK2CHif5zYRthI9 AfSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=2jhaLlZ5BoKhJyMKNnK+LSiohA2YxckSQnfnYmFQuVQ=; b=GuL29Vo23SyAyByzZQL7Ro+Lq3SfFifcTAjqhJR1E/eoOa7dUwzKFWD2n0g11ZsQyg 8pOiA1q5imjebbOAL7dBgpbzQjHBT0apre2Hh8jj5zDzyBeNTQqOGSRWJYF6i6a1pkbv brGIwF8GRXDUDF1bYUeAbp9d2Pi3OjHMtQQ6jNf3qF0u3DOS/8MdftJtuRdFDc44Wvex Xgc84Me2uCv5i4w3xlkqyLpicUfnPvl+tM4Ykp8Zb0yfGu4rFKxYFhMMxLVUAMa4IQCc ixnP7T3XDFwKEQVZYN9UBqJT13iMis4IiisTeTqjadKTZvgujptg5DaOOy4lxg2vi+jV dSdg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=C13rRrSE; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::52a as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com. [2607:f8b0:4864:20::52a]) by gmr-mx.google.com with ESMTPS id f23-20020a4aeb17000000b0041b88dd635asi482221ooj.0.2022.07.13.07.32.23 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Jul 2022 07:32:23 -0700 (PDT) Received-SPF: pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::52a as permitted sender) client-ip=2607:f8b0:4864:20::52a; Original-Received: by mail-pg1-x52a.google.com with SMTP id s206so10607897pgs.3 for ; Wed, 13 Jul 2022 07:32:23 -0700 (PDT) X-Received: by 2002:a65:4645:0:b0:419:9286:4c63 with SMTP id k5-20020a654645000000b0041992864c63mr2560046pgr.582.1657722742457; Wed, 13 Jul 2022 07:32:22 -0700 (PDT) In-Reply-To: <6a4255a0-557b-a182-43a8-35facb1e2788-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=C13rRrSE; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::52a as permitted sender) smtp.mailfrom=amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30956 Archived-At: --000000000000334bd605e3b0a7d3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Sukil, Thanks for your quick response, but where in the manual does it say that this *cannot* be done? I was under the impression that using the braced syntax to add attributes was a sort of universal thing that could be done to any of the elements in the AST? Regards, Amine On Wed, 13 Jul 2022 at 16:29, Sukil Etxenike arizaleta wrote: > According to the manual: no, but you can enclose it in a div and give tha= t > div the attributes you want. > > Hth, > > Sukil > > > El 13/07/2022 a las 16:18, A A escribi=C3=B3: > > 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=3Dvalue} > > 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: > >

Header

>

Some text

>

{.glossary} Term 1 : Definition 1

>
>
Term 2
>
> Definition 2 >
>
> > 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%2= BT1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g%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-/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 > > . > --=20 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 e= mail 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/CAMwawgOYU8Z6XZ6uMxZ5t1-47OV7FKR7640O2hSb_VHStu3yAw%40mail.g= mail.com. --000000000000334bd605e3b0a7d3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Sukil,

Thanks for your quick respons= e, but where in the manual does it say that this cannot be done? I w= as under the impression that using the braced syntax to add attributes was = a sort of universal thing that could be done to any of the elements in the = AST?

Regards,

Amine
=

= On Wed, 13 Jul 2022 at 16:29, Sukil Etxenike arizaleta <sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
=20 =20 =20

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=C3=B3:
=20

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=3Dvalue}

Some text

{.glossary}
Term 1
: Definition 1

Term 2
: Definition 2

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

<h1 class=3D"class" data-key=3D"value" id=3D&=
quot;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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOy= f796%3DsXy5Zt%2BT1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/6a4255a0-557b-a182-43a8-35facb1e2788%40= gmail.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.= google.com/d/msgid/pandoc-discuss/CAMwawgOYU8Z6XZ6uMxZ5t1-47OV7FKR7640O2hSb= _VHStu3yAw%40mail.gmail.com.
--000000000000334bd605e3b0a7d3--