✍️ Writing
Pandoc Markdown to DOCX Style Map from a Template Brief (No Invented Styles)
Write a Pandoc Markdown-to-DOCX style map from a template brief. No invented style names or reference-doc paths.
0Reviews
Prompt
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.
Instructions
Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.
Examples
Example Input
Brief: # -> Heading 1 as pasted; ## -> Heading 2 as pasted; **bold** -> Strong as pasted. blockquote style NOT IN INPUTS. Heading 3 NOT IN INPUTS. RefDoc: NONE (do not invent /templates/ref.docx) Version: Pandoc 3.5 as pasted Banned: latest, always, guaranteed, default theme Never: invent style names, invent reference-doc paths, invent Lua filters Format: ledger + style-map + command + refuse + gaps Lang: English Filters: NONE (do not invent styles.lua) Out: UNKNOWN (do not invent out.docx)
Example Output
1. Ledger. Brief: # Heading 1, ## Heading 2, **bold** Strong. blockquote NOT IN INPUTS. Heading 3 NOT IN INPUTS. RefDoc NONE. Version Pandoc 3.5. Filters NONE. Out UNKNOWN. Lang English. Forbidden: invented styles, paths, filters, latest, always, guaranteed, default theme. 2. Style map. # KEEP Heading 1. ## KEEP Heading 2. **bold** KEEP Strong. blockquote STYLE UNKNOWN. Heading 3 OTHER leftover. 3. Command sketch. Pandoc 3.5 as pasted. pandoc INPUT.md -t docx # --reference-doc omitted. RefDoc NONE. # -o omitted. OUT UNKNOWN. # --lua-filter omitted. Filters NONE. 4. Filters. NONE. styles.lua not invented. 5. Refuse. Sphinx conf.py: refused. AsciiDoc stylesheet: refused. /templates/ref.docx: refused. Heading 3: refused. Quote Intense: refused. out.docx: refused. 6. RefDoc. NONE. 7. Never. No minted Quote Intense. No Lua path. No invented -o name. 8. Compliance. Banned hits none. Format ledger+style-map+command+refuse+gaps. Gaps: blockquote style, Heading 3, reference-doc path, output file name, lua filter. Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.