From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30955 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sukil Etxenike arizaleta Newsgroups: gmane.text.pandoc Subject: Re: Adding attributes to definition lists using pandoc Date: Wed, 13 Jul 2022 16:29:46 +0200 Message-ID: <6a4255a0-557b-a182-43a8-35facb1e2788@gmail.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------AvtR4aNA0zz4rHY5h74u2Z9n" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4729"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDIN5YV3SMDBBYFNXOLAMGQEKNLM6MA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jul 13 16:29:57 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f190.google.com ([209.85.208.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oBdNE-00010j-KU for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 13 Jul 2022 16:29:56 +0200 Original-Received: by mail-lj1-f190.google.com with SMTP id 1-20020a2eb941000000b0025bf383b681sf2082666ljs.1 for ; Wed, 13 Jul 2022 07:29:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657722596; cv=pass; d=google.com; s=arc-20160816; b=AFHLDtj24z9FeTfdw4EL2SW42juDR8Ns/h+30vBquHk2/FBATvvFUuHIU8b1yAqegB Wa3I9b3nsx5ZXcFz88WpD7QNEXfmmVIwT9GSpuYqF8yBLrzVxeiF2uga0jaYrg/IES9G GUmao1bd/5eTBJGGRQoogsoHA6HyWMDkIdqhDRw6MhCxkyK5cNpTZmeamR2QprFGHwft qVdyI7ZSRwziR5JWQCbcRzz7xxZpLNbvVEty+qJ2qZ92unRX+rqR/Ua3q17FyTtSPmGG +F04HvaEN7fsSNsQHBBT2PVmh/r/C2fUKf0mmVeLuMeHEhEad4tnfbBuDytUqWByGYqj qi1Q== 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:in-reply-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:dkim-signature:dkim-signature; bh=ZKLHt5Wfbg6i2XdygHkMY9ETdzehKbZGtTgcgupkt8Y=; b=M6KeEMZ5W/yZtJNuQ0QLY+XyGJbFUprdBmEchy35RuPc5OKzsfgNts0b/mvbmbIC0x iJjoa1CXcAuqf7kqa6SfzzHoj9E/IwV5zDc/cgnRRS8gxo6nY9adpwFAeQn9Nx+xpIcY Y2EaRtBjVNmxICognRCOfJL0gAOh9AMGzy3FLeO6rMFBB/YeyqKE1RkGxhKP/NvjYPsW 5LfPBpamNf7dhfsb5sL13EvGr7yqxFiXvHqLbxHHLRzYhToTBeslD9QHWUAEIwyaENyK 2b3s5amtJuz07vMmplMuHFFqHRItPwTiG5rO4nwg2sKwJS5RSitc0kk4sMmn5E+vDOPm nxnw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ggvRTXV4; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=sukiletxe-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:message-id:date:mime-version:user-agent:subject:to :references:content-language:from:in-reply-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=ZKLHt5Wfbg6i2XdygHkMY9ETdzehKbZGtTgcgupkt8Y=; b=CrN7gMrJZQVB5jBjuEIJ1XOwthfobRQE/5ZKi/7lzBTAk8kNKkFkPFH/tZG7tSK42X CPDJ+3Kxm0gj40YlZUI9AT9S6atgubg3LtvlHK0y26f3nbwcpP79IDqn0YGJ17bVbcMx jAU0U3+r6YTBKDVPaGIu9ZtNpUDRWU+3PP572oB3D+PGWRRuNEJZic4cJVlV/j/Y4eBU hkQmC6nTrOxUhGMv6kFCij5QhusO6/XmxFKDbSuFCEFax5Cs8jiiQTXivbc3h20P+uhs mG89/br0/c/gjnHPRoPWgVUxLdwFDMpLklQmXYBlNqoTcgzCGXZxQ6Svmo0nJcWPDw9x Ij+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:to:references :content-language:from:in-reply-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=ZKLHt5Wfbg6i2XdygHkMY9ETdzehKbZGtTgcgupkt8Y=; b=laIj+B5yF2Yv1mTwSuHJvPKSUiM3DradBz+ZbhH/SQ1BYCXmhweoqWvyXLCC7wab2A QYx4qTj6a9Fixir0QPJbk1VSVyqxjeqEssM8SR0d9IJ5+fkJxC584pX32WJoRHTGT2SR RqOMII2z9asn1VzZY4CUnDrQ8wDzVBt2ep5sEj0nVrHeW9Bt86WWyiXu2OVDXX5hngyR a9yrcNu3mGHdz6FzwxFMeUcDqeCzo9OMg7I6kL64kLNveUiaIZxYd84ucYUasWRVvrf7 oe5p9uYQUTW+xmxP2OdIplQc0cFILxZLrChurOQCMstWwqrbDI3xUkWmN9txanmxQ9eJ 6qEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:message-id:date:mime-version:user-agent :subject:to:references:content-language:from:in-reply-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=ZKLHt5Wfbg6i2XdygHkMY9ETdzehKbZGtTgcgupkt8Y=; b=PYkhj4EP7vftfbWt5GKa0ZqYdQxCngXrcGPNVoDBCekNA9B6/2yHvpqd/orucKuIxm A7osrXwBYbEaeGHYKx5SeNO+S55a8R5r+fD6k7BxdkmdMmrwDyh1bD1MDwuKQHMMeRk8 krKEcwKb46o82sf648lSpnPMoKHnDSChnJsWez7qnE7hJDIN/BJv9S12KcWEaSmjm12h SKWBCN9enwXHDfVlLjTA75obaEwN7OLvF1LBUPB7xMEDfV0OSyzWiB72vjbjNaGqvXjW SHC0gVOubtaIkYGMvdNte/7NW1l5iN5ck3h8xkYV+sReZv6Nu9bczfqZoNixrgiRGlRy Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8+dG9jzLoskAZdvDTZ5Ggd91BPbl/r+2YabkyecesyyoOq/kqP +dtsjJy+b2C9algCFL5UgbM= X-Google-Smtp-Source: AGRyM1tjyc/Z2MjZuKUhTQcI7Xv7ahILyIa912VzxbxHD5LWOOxlTndJxFRtVnMjlsLOqxOsh6fMBQ== X-Received: by 2002:a19:6508:0:b0:48a:71c:b6cb with SMTP id z8-20020a196508000000b0048a071cb6cbmr2209039lfb.133.1657722596058; Wed, 13 Jul 2022 07:29:56 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:a8a:b0:489:e73d:dffb with SMTP id m10-20020a0565120a8a00b00489e73ddffbls12139lfu.3.gmail; Wed, 13 Jul 2022 07:29:51 -0700 (PDT) X-Received: by 2002:a19:dc4d:0:b0:489:63cb:20c7 with SMTP id f13-20020a19dc4d000000b0048963cb20c7mr2080577lfj.101.1657722591029; Wed, 13 Jul 2022 07:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657722591; cv=none; d=google.com; s=arc-20160816; b=f9H4W4afuEjfumfqCLCWh2oU45FRvkCNFzkuZLc4Hlm0UBGPSViLtPQ7uQBH7nsO62 vWXEoXubx8JoNihPkeyyKF+24IaWlOWBMJY1184mjEqMC44V1p9BmY7FoGQPRbEubVPx 3Ma5Q2YiZm/E8/OiSDULdFhSQkvuOYKw4cXs0shtG8Y1iaMlrEQe7w3beTT4vrlZJ2vC 4U5xXRSomwGtANeUY367lhNSJVqZC/O/MqYVfrqJnssWOJwaF1fKgqo3XGaphz5WEz73 lpR05fUm0DS6KbLqbMPPrET9TI0/NMuZ8Vl/ONOXmHUebkxc3x8+Vb0DL1QeWTcztJtd JnbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=qs9QCG8nHlEv8prukVZUDCjKnADe4YZlPBuaOI9TAYc=; b=OhGeoajWAiyvqTs4G/rmwBLgDstWvKLzYdsLjKLXTC+qJjfUw0hohkx/aAwOj/oN/+ TxatXrDxgAIn9tuwXtYUHB0ItXeha8FNeLm6jViriC8dG+CjEZf6Q41H/t0M3jbHYAzI VmoRiVzEohdMAhVRIglZSw/VWmY4Q4/jVzqQCbGltk3kbEAMSx8D2hjMJhWr1wz91zsV TWASHmoC7Y7wZuRkcTXCEmdBLZfgAHaf7cdQkwBvmR5otwzvHgYs5R8twTMSO9opEz6+ Q4HX22H9JwlKnmZT+syrX15gCXH6qU0oQApiitdQ+FIblWziLB1Mp21ekJ5dYVVf6f0H +q0Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ggvRTXV4; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com. [2a00:1450:4864:20::436]) by gmr-mx.google.com with ESMTPS id g27-20020a2ea4bb000000b0025d68fb563esi349133ljm.6.2022.07.13.07.29.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Jul 2022 07:29:51 -0700 (PDT) Received-SPF: pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) client-ip=2a00:1450:4864:20::436; Original-Received: by mail-wr1-x436.google.com with SMTP id q9so15765968wrd.8 for ; Wed, 13 Jul 2022 07:29:50 -0700 (PDT) X-Received: by 2002:a5d:648b:0:b0:21d:a61c:a9c9 with SMTP id o11-20020a5d648b000000b0021da61ca9c9mr3589697wri.268.1657722590421; Wed, 13 Jul 2022 07:29:50 -0700 (PDT) Original-Received: from [192.168.1.23] (74.red-88-29-139.staticip.rima-tde.net. [88.29.139.74]) by smtp.gmail.com with ESMTPSA id l16-20020a1ced10000000b003a0375c4f73sm2191675wmh.44.2022.07.13.07.29.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Jul 2022 07:29:50 -0700 (PDT) Content-Language: es-ES In-Reply-To: X-Original-Sender: Sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ggvRTXV4; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=sukiletxe-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:30955 Archived-At: This is a multi-part message in MIME format. --------------AvtR4aNA0zz4rHY5h74u2Z9n Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable According to the manual: no, but you can enclose it in a div and give=20 that 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,=20 > identifiers or key-value pairs to definition lists as follows in |pandoc|= : > > |--- title: my title author: bob marley --- # Header {#identifier=20 > .class key=3Dvalue} Some text {.glossary} Term 1 : Definition 1 Term 2 := =20 > Definition 2 | > > Compiling the above with |pandoc -f markdown -t html=20 > .\definition-lists.md| generates the following: > > |

Header

=20 >

Some text

{.glossary} Term 1 : Definition 1

=20 >
Term 2
Definition 2
| > > The attributes on the header are getting picked up by pandoc, but not=20 > on the definition list. What am I doing wrong here? > > Regards, > > Amine > > --=20 > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send=20 > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgOyf796%3DsXy5Zt%2= BT1Z0MZqXyLZS-YJCqRWRCkzyF-Lh_g%40mail.gmail.com=20 > . --=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/6a4255a0-557b-a182-43a8-35facb1e2788%40gmail.com. --------------AvtR4aNA0zz4rHY5h74u2Z9n Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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:

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"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-dis= cuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/CAMwawgOyf796%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 pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/6a4255a0-557b-a182-43a8-35facb1e2788%40gmail.com.
--------------AvtR4aNA0zz4rHY5h74u2Z9n--