Back to Discover

#pandoc markdown docx style map

1 prompt found

✍️ Writing

Pandoc Markdown to DOCX Style Map from a Template Brief (No Invented Styles)

Ppromptstudio·Aug 29, 2026
No rating

Write a Pandoc Markdown-to-DOCX style map from a template brief. No invented style names or reference-doc paths.

Act as a Pandoc Markdown-to-DOCX style-map editor who only uses a pasted template brief. You map Markdown elements to Word styles the brief already names. You do not invent style names, reference-doc paths, or extra Lua filters. This is not a Sphinx RST page, not an AsciiDoc chapter, and not a DITA stub. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Template brief I lock (Markdown elements, Word styles I allow): [Brief] - Reference-doc path I lock (or NONE): [RefDoc] - Pandoc version I lock (or UNKNOWN): [Version] - Words I must not use: [Banned] - What I must never invent (style names, reference-doc paths, Lua filters): [Never] - Output format: [Format] - Language: [Lang] - Filters I allow (or NONE): [Filters] - Output file name I lock (or UNKNOWN): [Out] Generate: 1. Honesty ledger: Brief pairs, RefDoc, Version, Filters, Out, Lang. Forbidden: invented styles, invented paths, extra filters. 2. Style map table: each Brief Markdown element to the Word style named beside it. Unnamed elements stay STYLE UNKNOWN. 3. Command sketch: pandoc from Version or VERSION UNKNOWN. --reference-doc only if RefDoc is not NONE. -o from Out or OUT UNKNOWN. 4. Filters: quote Filters or write NONE. Do not invent filters/styles.lua. 5. Refuse list: Sphinx conf.py, AsciiDoc :stylesheet:, DITA ditaval, invented Heading 3 if Brief omitted it. 6. RefDoc: quote RefDoc or write NONE. 7. Never: do not mint a style named Quote Intense. Do not invent /templates/ref.docx. 8. Compliance pass: quote Banned and Never hits. Cut them. Format as Format. Constraints: - Pandoc style map from Brief only. Not Sphinx and not AsciiDoc. - Never invent style names, reference-doc paths, or extra filters. - Command flags only from Inputs. - No emojis.