Alas, that still doesn’t give me part numbers for HTML. For example: http://exploringjs.com/impatient-js/toc.html

I’ve written the following filter which mostly does what I want (minus some polish): https://gist.github.com/rauschma/7f631cacad55b8b6c920b9334f711244

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e9ec0801-2490-4119-88cd-74adbcd9afe6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.