Replies: 4 comments 15 replies
-
Try using a |
Beta Was this translation helpful? Give feedback.
-
That's the problem and the whole point of this discussion :) |
Beta Was this translation helpful? Give feedback.
-
I don't expect the markdown code block syntax to work in docx, just as I don't expect the "Source Code" style to "work" in docx. If I don't include the backticks in the "Source Code" styled text, then I would need to add them in the target file (including the programming language hint) post-conversion, which would become a nightmare. If that's too much to ask, how can I instruct Pandoc to output a specific Word paragraph "as-is" without any pre-processing during conversion? The reason I used the "Source Code" style initially is that, by default, < and > are correctly escaped in the output file, but this also results in HTML source code being escaped. |
Beta Was this translation helpful? Give feedback.
-
Does the indentation occur before or after the Lua script executes? I don’t want to prepare the script only to end up back at square one. |
Beta Was this translation helpful? Give feedback.
-
I have a Word document containing some HTML, which I wrapped with
html
code block markers.Example:
```html
```
I created a style in Word called “Source Code” and applied this style to the entire wrapped HTML. I then converted the docx to markdown using the following command:
The entire code block is shifted by 4 spaces in the output file. I do not want this shift.
Any assistance with resolving this issue would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions