You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The reason it isn't present in the default template is that we create it dynamically depending on the highlighting style selected. But you can add your own if you want. Here is a minimal default definition:
Note that it links to the Verbatim Char character style; this will be used to style the characters, so e.g. if you want a different font you need to modify that instead.
Are your code blocks marked with a syntax? (If so, highlighting will be used.)
Command used (pandoc v. 3.6.3):
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.
The text was updated successfully, but these errors were encountered: