-
Hi everyone, I am new to pandoc. Recently I encountered a problem when trying to make a docx template to be used into However, when I used Word to modify the ![]() The alignment of I confirmed that when I convert some markdown file to docx using the buggy template, the generated docx also has the same problem: table bodies are center-aligned but heads are not. Even after I force the head in the template to be in center by just setting the style on it, the problem persists in converted docx. Maybe I misconfigured something, or this is a bug. Anyway I hope someone can help me. Thanks in advance!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You should be able to remove the left alignment attribute from the header row, then the center alignment of the table should take effect. I ran into the same problem a while ago and wrote about it here. If you still have issues, please attach your reference.docx so we can have a look at it. |
Beta Was this translation helpful? Give feedback.
You should be able to remove the left alignment attribute from the header row, then the center alignment of the table should take effect. I ran into the same problem a while ago and wrote about it here. If you still have issues, please attach your reference.docx so we can have a look at it.