I read the sections Heading Identifiers and Extension: auto_identifiers in the manual. So, I think I understand why the following produces `id="section"`

$ printf '# 47\n' | pandoc
<h1 id="section">47</h1>

But why is it that I cannot make Pandoc use a specific identifier like in

$ printf '# 47 {#47}\n' | pandoc
<h1 id="section">47 {#47}</h1>

I expected Pandoc to produce `id="47"`.

BTW, I came upon this because I was wondering how to reference ISO dates in headers, like

## 2021-08-29

because

## 2021-08-29 {#2021-08-29}

produces `id="section"` too.

--
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/70061a93-5913-4668-8bac-3bdaedb9c710n%40googlegroups.com.