From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33305 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: A A Newsgroups: gmane.text.pandoc Subject: Re: Assigning identifiers to definition items Date: Sun, 12 Nov 2023 11:05:37 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a63e960609f1b2b1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36655"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJ77HUDRUCBB7WGYKVAMGQEQH3VJFI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Nov 12 11:05:54 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f63.google.com ([209.85.160.63]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1r27Ll-0009En-MB for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 12 Nov 2023 11:05:53 +0100 Original-Received: by mail-oa1-f63.google.com with SMTP id 586e51a60fabf-1ef4f8d294asf3578885fac.0 for ; Sun, 12 Nov 2023 02:05:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699783552; cv=pass; d=google.com; s=arc-20160816; b=hj1Vs0KEDVVAXJAt7CN1doMeZtQIDgIyHSoJMKH4DuY6c2EfkBuwFzbAvct2T7mwN3 Dc+BZvDjS538KADY2N4bGSbBLSkLWfDYwAnDUWGM9CvCIAvg+0BYpDTfauL5rcoqb3V5 Do/71527jE/4K0uHngWNumEOWQq230JJ/Pwc9uREZXpkoX6dWbmKTWUYdxUZLJ1Hvt3D QzjeCBtBForfNWC27ey5JhO+3B507sHe5V6E2F0Z7RyPZeL7aZWAEm3LXBOLYYQ54hjF jRkjFbz4Hbt/4QPcREzZJDnB00YS47UD9+1mmNcxmh63UTxpOAIRg6x+18MQiDqRnJIG 0RwA== 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=zk3M5ciT9B5RLzxFmBdT0p3VtAHFYH4SluxbViWQpSM=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=NlkqvCI/NbdUYukN3F7gCN9JTBgbVtEYQISTgiA29tzivYEufhjzqIE75rM4j/uidy A1oU7BfmSqskvic64l7tZ+qpZ3tIpPqn4JD9AQUxQGJJYz+ac4gZVtqdVA4bHoiqaNKp 8cJ0jVZP1UtM+6JgWOIjcu3SmX9edya7VxPYN707YO1b+KiEAUkoKbzCocBot6JSkNaJ 0WPMLLQ4U+4wNpZFhu1HQpAtIYaSQUV7hAjEd3mL2Cb+af7Wm4t2BcWxuxi8EKSYErmf j1cAk1VdHYb8KrTtX8GWsb3W/fVQuqUTjPAPnMay4PU8Ye6AdrsLqjf44aE4K7suESly b7zA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=epDLA0aU; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c 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=20230601; t=1699783552; x=1700388352; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=zk3M5ciT9B5RLzxFmBdT0p3VtAHFYH4SluxbViWQpSM=; b=IZ7T0zktvNK3bUUoyamtCVz2AZGz4sZZBXtB05OsfGfZnT+epz4H9b7aTxZa+E7LDE cmrghIPwTmMGXtImUFcPBHkrsL4D4GgaaMv4Wf9C1rHo/9sIvQOwkTujZjJ+ksngytyE u+6rfUbX5fD3TAXlWXGsudOLmUq17FxSAoYUfJSO5dYkCj7L+fwyIfJBQfbTFRkr8vqW fXKIeN0qoHPXC1Ae8p69pp9JW1MVJLee5omClsKHLuTnQZZzfWQDD5tZWdNx2ssTR295 MhIAqEZOJHke7pFneyQQkgPRDLJjyhQSGOfa+RGwOBF91yXrMYVl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699783552; x=1700388352; darn=m.gmane-mx.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=zk3M5ciT9B5RLzxFmBdT0p3VtAHFYH4SluxbViWQpSM=; b=aaps0hClcndUxsMaz9+ikZTP35sTMqwKMrjqROdIPFrgAmnAKy5Z9yKVadNKfyWhZB QKQM3HDApK3eeUNHaE8kTV8+ijOcJ6aLEaIGVc/HbNXCLjLrX960TEnQ7ZfdTMECP5JE wx5fP9CTYX0bKv8y327XsbWEu2i6rQKrzKzT56W+H1DH1WSVLfI6jMtoecribKKR99yz ePj45R3deD/EirhhLliWAL46CC1iXwJSV3G2AYpEYjFJNKQB2qfOYtA6Dcw+iqlpcHUz pCEdNUPY0G+YfVn3/RQYj7aozdvNDJ/yDcYRZLKKt5AMiLu4JnAm3kwGIXOab32d6y X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699783552; x=1700388352; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=zk3M5ciT9B5RLzxFmBdT0p3VtAHFYH4SluxbViWQpSM=; b=wAwP9nNwzmzLiD+/wqxy65ch/iprv1AeWxOZLC+g25bUIPTsKlfYvaPO05mgLwDdg6 GWeXQtvmJaLVbBpQu3Om8jmto33kmH/nObofRKRlwH3VozA3xDmmzRDr6jwA0bHCeI4R RBUiCTXiWm2z5nFuhYZT3Lzt7a3KikWzRKQFPKySUssHdGD4E1QHtxCLRkhTT4iGZRZE NldHA0jAsHX271GK8EUA0tH2XXg+lylTuM1y5NFrLSEYLKS5J3VXaI2n8xxwnvhFcWJC JLs+aS Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzJ6/1fH7wCb38FoTegxm17ohAaWAr8aF7GVbGFPvBp4GFI04uI ptEyQRz0Sg/+rTAw8Kwfxq4= X-Google-Smtp-Source: AGHT+IE8XiMgnw3gauw1h2aD+hotMtE8K2rLdqG6hO3wiYAbFTYVzwzoCqNKYCk1yg2VSUqd6hsBGA== X-Received: by 2002:a05:6870:7d08:b0:1f4:a992:a15f with SMTP id os8-20020a0568707d0800b001f4a992a15fmr6589411oab.43.1699783552580; Sun, 12 Nov 2023 02:05:52 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:718c:b0:1ef:be06:65a8 with SMTP id d12-20020a056870718c00b001efbe0665a8ls1741061oah.2.-pod-prod-01-us; Sun, 12 Nov 2023 02:05:49 -0800 (PST) X-Received: by 2002:a05:6871:81f:b0:19f:aee0:e169 with SMTP id q31-20020a056871081f00b0019faee0e169mr6156872oap.30.1699783549777; Sun, 12 Nov 2023 02:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699783549; cv=none; d=google.com; s=arc-20160816; b=ztXhQn8blZYpsduojNZahW5t5DzPdF/AgBGvDnEg7q7cA0DDIgXdFQLNMhyF4+vUPe F0bmg4/3q6Z0y3eRQGzKEiWunqMI8boTLD29th+/0RqOfSZ5pLaP3hpJFefljFMBcn6q oxm0ctJ44V8lza/z2Qjc59XzmQnJxf2719iEEPq6ltzGukhqLcQK1GlcspmHzkaX+LVd PtynO0roPJnogAwGNOw+K7ZV2ORSY54C3FhpekpoJ0LuxsCTW8sOwgSo6htD+kHNdWNI oO+FA2OHcdGTSkxHVYykURC4G0vFsgIKVt8+hzLgS6y0m/vCyA3Jpsw5+mzaTiCwvhg/ 1V/A== 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=0M9LkzJVtq4iKjLGWYdBolSFZK1unSA7+m+THlwWdcA=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=UjJ481ZGo9ZYoC/w+DFO+vS/+dQmzLMLq6kzIuelm05mibANWwfrtRKGQkDocuPCs6 jmZAH8PoFcGTVrbDcLpDbMly/d0VtyXKkZESgdaICYjA5WuA55RqCuFB70dTdIXv47xE GzBtc+RX3Nw3r6ZnbQ2I+FDEt0cfYqCDP80UqTQHfNvTJC7Epu6Bh0WrylmMQJCk6DC1 K+6TXn6MjNpt8qOkrMLkCbm8U4x0tmRIx0BsB9nW2P8mnVF0UstbAJwhhKGnKOQ7DVOG CSVCqmKQ6oHiyyiK0KbnlT381T5uXDRtXzu5J+/DRYBhtb8HiLBTRgPMRhqQ0KDGIyR6 Uiow== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=epDLA0aU; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c 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-pf1-x42c.google.com (mail-pf1-x42c.google.com. [2607:f8b0:4864:20::42c]) by gmr-mx.google.com with ESMTPS id li12-20020a17090b48cc00b0027d3a858456si185825pjb.2.2023.11.12.02.05.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Nov 2023 02:05:49 -0800 (PST) Received-SPF: pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c as permitted sender) client-ip=2607:f8b0:4864:20::42c; Original-Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6c4d06b6ddaso1861128b3a.3 for ; Sun, 12 Nov 2023 02:05:49 -0800 (PST) X-Received: by 2002:a17:90a:e7d0:b0:27f:f655:e14c with SMTP id kb16-20020a17090ae7d000b0027ff655e14cmr2137130pjb.42.1699783549270; Sun, 12 Nov 2023 02:05:49 -0800 (PST) In-Reply-To: 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=20230601 header.b=epDLA0aU; spf=pass (google.com: domain of amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c 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:33305 Archived-At: --000000000000a63e960609f1b2b1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ok, thanks for that, but when I try to convert something like the following= : [USA]{#usa} : United States of America The resulting HTML looks like this:
USA
United States of America
The hash symbol gets dropped which basically makes that span useless as the target of an anchor link. I think I=E2=80=99m probably still doing somethin= g wrong but I=E2=80=99m not sure what. On Sat, 11 Nov 2023 at 23:57, Bastien DUMONT bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org wrote: Same thing, but on the definition: > > Term 1 > > : Definition 1 > > : [Definition 2]{#t1-def2} > > Term 2 > > : Definition 1 > > Here Term 1 has [this meaning](#t1-def2). > > You will not get the id on the
element directly, but on a > inside
. > > Le Saturday 11 November 2023 =C3=A0 10:57:48PM, A A a =C3=A9crit : > > Thanks William, this will certainly come in handy, however I was asking > about > > linking to specific *definitions*, not *terms*, i.e. in the case where = I > have > > multiple definitions for a single term, I'd like to be able to link to > only one > > of them from another definition or from the main body of my document...= . > > > > On Mon, 6 Nov 2023 at 16:02, 'William Lupton' via pandoc-discuss <[1] > > pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote: > > > > You can use [2]bracketed spans to do this manually, as in: > > > > [Term 1]{#term-1} > > ... > > Reference to [Term 1](#term-1). > > > > We use an auto-identifiers.lua filter that I could probably add to > [3] > > pandoc-ext. This will auto-derive the identifiers from the span > content. > > This allows you to write this: > > > > [Term 1]{} > > ... > > Reference to [Term 1](). > > > > or this (the t: is used as a prefix): > > > > [Term 1]{#t:} > > ... > > Reference to [Term 1](#t:). > > > > The latter example generates this HTML. > > > >
Term 1
> > ... > >

Reference to Term 1.

> > > > On Mon, 6 Nov 2023 at 12:14, A A <[4]amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > > > > Pandoc will convert the following markdown: > > > > Term 1 > > > > : Definition 1 > > > > : Definition 2 > > > > Term 2 > > > > : Definition 1 > > > > To the following HTML: > > > >
> >
Term 1
> >
> >

Definition 1

> >
> >
> >

Definition 2

> >
> >
Term 2
> >
> >

Definition 1

> >
> >
> > > > How easy/straightforward is it to assign identifiers to specifi= c > > definition items in markdown? For example such that the > resulting HTML > > looks like the following: > > > >
> >
Term 1
> >
> >

Definition 1

> >
> >
> >

Definition 2

> >
> >
Term 2
> >
> >

Definition 1

> >
> >
> > > > -- > > 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 [5]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [6] > https://groups.google.com/d > > /msgid/pandoc-discuss/ > > CAMwawgNTwDo55QU5dZsgeXQpG9jAr1_RevLPdshEjFgqyF%3DgLQ% > 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 [7]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [8] > https://groups.google.com/d/ > > msgid/pandoc-discuss/ > > CAEe_xxiyw7-04ghifFmDDv3XH0rBVL-WszRX44%3D27Q_OP%2BXSnA% > 40mail.gmail.com. > > > > -- > > You received this message because you are subscribed to the Google Grou= ps > > "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email > > to [9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit [10] > https://groups.google.com/d/msgid/ > > pandoc-discuss/ > > CAMwawgMn0hHWHAk7wAk0GYFrjgh%3Do5R3yhZjB5kSpcNxWhvb%3DA%40mail.gmail.co= m > . > > > > References: > > > > [1] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2] https://pandoc.org/MANUAL.html#extension-bracketed_spans > > [3] https://github.com/pandoc-ext > > [4] mailto:amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > [5] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [6] > https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgNTwDo55QU5dZsgeXQ= pG9jAr1_RevLPdshEjFgqyF%3DgLQ%40mail.gmail.com?utm_medium=3Demail&utm_sourc= e=3Dfooter > > [7] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [8] > https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxiyw7-04ghifFmDDv3= XH0rBVL-WszRX44%3D27Q_OP%2BXSnA%40mail.gmail.com?utm_medium=3Demail&utm_sou= rce=3Dfooter > > [9] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [10] > https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMn0hHWHAk7wAk0GYF= rjgh%3Do5R3yhZjB5kSpcNxWhvb%3DA%40mail.gmail.com?utm_medium=3Demail&utm_sou= rce=3Dfooter > > -- > 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/ZVAG4DKHakT2qzn6%40local= host > . > --=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/CAMwawgNoS75CPOstiM0Xv7xtBLK%2BFf3Jp1o2udPnBQaHhH06VQ%40mail= .gmail.com. --000000000000a63e960609f1b2b1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Ok, thanks for tha= t, but when I try to convert something like the following:

[USA]{#usa}
: United States of America

The resulting HTML= looks like this:

<dt><span id=3D&=
quot;usa">USA</span></dt>
<dd>
United States of America
</dd>

The hash symbol ge= ts dropped which basically makes that span useless as the target of an anch= or link. I think I=E2=80=99m probably still doing something wrong but I=E2= =80=99m not sure what.

On Sat, 11 Nov 2023 at 23:57, B= astien DUMONT bastien.d= umont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org wrote:

Same thi= ng, but on the definition:

Term 1

: Definition 1

: [Definition 2]{#t1-def2}

Term 2

: Definition 1

Here Term 1 has [this meaning](#t1-def2).

You will not get the id on the <dd> element directly, but on a <sp= an> inside <dd>.

Le Saturday 11 November 2023 =C3=A0 10:57:48PM, A A a =C3=A9crit :
> Thanks William, this will certainly come in handy, however I was askin= g about
> linking to specific *definitions*, not *terms*, i.e. in the case where= I have
> multiple definitions for a single term, I'd like to be able to lin= k to only one
> of them from another definition or from the main body of my document..= ..
>
> On Mon, 6 Nov 2023 at 16:02, 'William Lupton' via pandoc-discu= ss <[1]
> p= andoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> wrote:
>
>=C2=A0 =C2=A0 =C2=A0You can use=C2=A0[2]bracketed spans to do this manu= ally, as in:
>
>=C2=A0 =C2=A0 =C2=A0[Term 1]{#term-1}
>=C2=A0 =C2=A0 =C2=A0...
>=C2=A0 =C2=A0 =C2=A0Reference to [Term 1](#term-1).
>
>=C2=A0 =C2=A0 =C2=A0We use an auto-identifiers.lua filter that I could = probably add to [3]
>=C2=A0 =C2=A0 =C2=A0pandoc-ext. This will=C2=A0auto-derive the identifi= ers=C2=A0from the span content.
>=C2=A0 =C2=A0 =C2=A0This allows you to write this:
>
>=C2=A0 =C2=A0 =C2=A0[Term 1]{}
>=C2=A0 =C2=A0 =C2=A0...
>=C2=A0 =C2=A0 =C2=A0Reference to [Term 1]().
>
>=C2=A0 =C2=A0 =C2=A0or this (the t: is used as a prefix):
>
>=C2=A0 =C2=A0 =C2=A0[Term 1]{#t:}
>=C2=A0 =C2=A0 =C2=A0...
>=C2=A0 =C2=A0 =C2=A0Reference to [Term 1](#t:).
>
>=C2=A0 =C2=A0 =C2=A0The latter example generates this HTML.
>
>=C2=A0 =C2=A0 =C2=A0<dt><span id=3D"t:term-1">Ter= m 1</span></dt>
>=C2=A0 =C2=A0 =C2=A0...
>=C2=A0 =C2=A0 =C2=A0<p>Reference to <a href=3D"#t:term-1&= quot;>Term 1</a>.</p>
>
>=C2=A0 =C2=A0 =C2=A0On Mon, 6 Nov 2023 at 12:14, A A <[4]amine.aboufirass@gmail= .com> wrote:
>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Pandoc will convert the following mar= kdown:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Term 1
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Definition 1
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Definition 2
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Term 2
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: Definition 1
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To the following HTML:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dl>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dt>Term 1</dt>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<p>Definition 1</p>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<p>Definition 2</p>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dt>Term 2</dt>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<p>Definition 1</p>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dl>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0How easy/straightforward is it to ass= ign identifiers to specific
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0definition items in markdown? For exa= mple such that the resulting HTML
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0looks like the following:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dl>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dt>Term 1</dt>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dd id=3D"def-1-term-1"&= gt;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<p>Definition 1</p>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<p>Definition 2</p>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dt>Term 2</dt>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<p>Definition 1</p>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dd>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dl>
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0You received this message because you= are subscribed to the Google
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Groups "pandoc-discuss" gro= up.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To unsubscribe from this group and st= op receiving emails from it, send
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0an email to [5]pandoc-discuss= +unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0To view this discussion on the web vi= sit [6]https://groups.google.com/d
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/msgid/pandoc-discuss/
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0CAMwawgNTwDo55QU5dZsgeXQpG9jAr1_RevLP= dshEjFgqyF%3DgLQ%40mail.gmail.com.
>
>=C2=A0 =C2=A0 =C2=A0--
>=C2=A0 =C2=A0 =C2=A0You received this message because you are subscribe= d to the Google Groups
>=C2=A0 =C2=A0 =C2=A0"pandoc-discuss" group.
>=C2=A0 =C2=A0 =C2=A0To unsubscribe from this group and stop receiving e= mails from it, send an
>=C2=A0 =C2=A0 =C2=A0email to [7]pandoc-discuss+unsubscribe@goog= legroups.com.
>=C2=A0 =C2=A0 =C2=A0To view this discussion on the web visit [8]http= s://groups.google.com/d/
>=C2=A0 =C2=A0 =C2=A0msgid/pandoc-discuss/
>=C2=A0 =C2=A0 =C2=A0CAEe_xxiyw7-04ghifFmDDv3XH0rBVL-WszRX44%3D27Q_OP%2B= XSnA%40mail.gmail.com.
>
> --
> You received this message because you are subscribed to the Google Gro= ups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send= an email
> to [9]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit [10]https://groups.g= oogle.com/d/msgid/
> pandoc-discuss/
> CAMwawgMn0hHWHAk7wAk0GYFrjgh%3Do5R3yhZjB5kSpcNxWhvb%3DA%40mail.gmail.com= .
>
> References:
>
> [1] mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [2] https://pandoc.org/MANUAL.html#exte= nsion-bracketed_spans
> [3] https://github.com/pandoc-ext
> [4] mailto:amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> [5] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [6] http= s://groups.google.com/d/msgid/pandoc-discuss/CAMwawgNTwDo55QU5dZsgeXQpG9jAr= 1_RevLPdshEjFgqyF%3DgLQ%40mail.gmail.com?utm_medium=3Demail&utm_source= =3Dfooter
> [7] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [8] ht= tps://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxiyw7-04ghifFmDDv3XH0r= BVL-WszRX44%3D27Q_OP%2BXSnA%40mail.gmail.com?utm_medium=3Demail&utm_sou= rce=3Dfooter
> [9] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [10] h= ttps://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMn0hHWHAk7wAk0GYFrjg= h%3Do5R3yhZjB5kSpcNxWhvb%3DA%40mail.gmail.com?utm_medium=3Demail&utm_so= urce=3Dfooter

--
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://groups.google.com/d/msgid/pandoc-discuss/ZVAG4DKH= akT2qzn6%40localhost.


--
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://group= s.google.com/d/msgid/pandoc-discuss/CAMwawgNoS75CPOstiM0Xv7xtBLK%2BFf3Jp1o2= udPnBQaHhH06VQ%40mail.gmail.com.
--000000000000a63e960609f1b2b1--