Skip to content

docx --reference-doc result doesn't have "Source Code" style #10646

@jweaver-ca

Description

@jweaver-ca

Command used (pandoc v. 3.6.3):

pandoc -o custom-reference.docx --print-default-data-file reference.docx

The file custom-reference.docx doesn't have a "Source Code" style in it for me to modify.

When I used pandoc to convert markdown to docx, a "Source Code" style is added and is applied to code blocks that should be printed as code. I would like to modify this style in the reference doc but I can't because it's not there.

I have tried adding the "Source Code" style manually to the reference doc, but after conversion I find (weirdly) that pandoc is now using "Verbatim Char" style and ignores my added "Source Code" style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions