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