public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Assigning identifiers to definition items
@ 2023-11-06 12:13 A A
       [not found] ` <CAMwawgNTwDo55QU5dZsgeXQpG9jAr1_RevLPdshEjFgqyF=gLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: A A @ 2023-11-06 12:13 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Pandoc will convert the following markdown:

Term 1

: Definition 1

: Definition 2

Term 2

: Definition 1

To the following HTML:

<dl>
<dt>Term 1</dt>
<dd>
<p>Definition 1</p>
</dd>
<dd>
<p>Definition 2</p>
</dd>
<dt>Term 2</dt>
<dd>
<p>Definition 1</p>
</dd>
</dl>

How easy/straightforward is it to assign identifiers to specific
*definition* items in markdown? For example such that the resulting HTML
looks like the following:

<dl>
<dt>Term 1</dt>
<dd id="def-1-term-1">
<p>Definition 1</p>
</dd>
<dd>
<p>Definition 2</p>
</dd>
<dt>Term 2</dt>
<dd>
<p>Definition 1</p>
</dd>
</dl>

-- 
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/CAMwawgNTwDo55QU5dZsgeXQpG9jAr1_RevLPdshEjFgqyF%3DgLQ%40mail.gmail.com.

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

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

end of thread, other threads:[~2023-11-12 16:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 12:13 Assigning identifiers to definition items A A
     [not found] ` <CAMwawgNTwDo55QU5dZsgeXQpG9jAr1_RevLPdshEjFgqyF=gLQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-06 15:02   ` 'William Lupton' via pandoc-discuss
     [not found]     ` <CAEe_xxiyw7-04ghifFmDDv3XH0rBVL-WszRX44=27Q_OP+XSnA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-11 21:57       ` A A
2023-11-11 22:57         ` Bastien DUMONT
2023-11-12 10:05           ` A A
     [not found]             ` <CAMwawgNoS75CPOstiM0Xv7xtBLK+Ff3Jp1o2udPnBQaHhH06VQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-12 10:13               ` A A
     [not found]                 ` <CAMwawgM3gEOSrSQFvE9k2_6+J=gmvW0MP6bo6dXVBvNNagufTQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-12 10:27                   ` A A
     [not found]                     ` <CAMwawgMH_vudUviXZa8odQ-jyn5Snk3YYGzx4K9to2RBQ_dpOA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-12 10:50                       ` 'William Lupton' via pandoc-discuss
     [not found]                         ` <CAEe_xxjOecwEVJSiO+BQDVHqc1zaDxHZuuzDSTDjZEmQna4xOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-11-12 16:35                           ` A A

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