Hello,

I have also been working for docx output.

[...]
-   With a custom-reference.docx modified to number section headings, 
    `# References {-}` came out numbered, too; i.e., `{-}` was ignored. 
    (A proper fix would probably require pandoc to attach a docx style 
    like "Heading (unnumbered) 1" to such headings.) 
[...]

This Lua filter might help you:
https://github.com/pandocker/pandocker-lua-filters/blob/master/lua/docx-unnumberedheadings.lua

Your guess is correct; you have to prepare unnumbered custom heading styles(up to 4th level) in your reference.docx, 
also need to point them in YAML frontmatter (or dedicated extra YAML file).

--
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/32bb05e7-9d7b-47d8-8729-dd7b42281839%40googlegroups.com.