0
我已安裝最新版本的pandoc。我已創建的test.txt文件直接從上多行表中的用戶pandoc引導部複製以下多表:如何在輸出到docx時讓pandoc多行表格單元格工作?
-------------------------------------------------------------
Centered Default Right Left
Header Aligned Aligned Aligned
----------- ------- --------------- -------------------------
First row 12.0 Example of a row that
spans multiple lines.
Second row 5.0 Here's another one. Note
the blank line between
rows.
-------------------------------------------------------------
我然後使用以下pandoc命令與multiline_tables擴展以輸出到DOCX:
pandoc -f markdown_mmd+multiline_tables -o text.docx test.txt
test.docx文件已創建,但僅顯示多行單元格的第一行。多行單元格的後續行不會出現。所以它看起來像這樣(但在微軟字表):
-------------------------------------------------------------
Centered Default Right Left
Header Aligned Aligned Aligned
----------- ------- --------------- -------------------------
First row 12.0 Example of a row that
Second row 5.0 Here's another one. Note
-------------------------------------------------------------
任何人沒有如何補救這一點?