pandoc icon indicating copy to clipboard operation
pandoc copied to clipboard

MultiMarkdown column spanning does not appear to work

Open Jack-Edwards opened this issue 2 years ago • 1 comments

Explain the problem. The documentation for MultiMarkdown indicates that rows in what looks to be a "pipe_table" can span multiple columns by placing multiple, adjacent pipes at the end of the row. MMD Table Reference

| | | |
|-|-|-|
| one | two | three |
| all three       |||
| one | two | three |

This is not reflected in HTML nor DOCX output using the commands provided below. Instead, every row in the table contains as many columns as are defined by the header.

  • pandoc -f markdown_mmd -o test.docx example.md
  • pandoc -f markdown_mmd -o test.html example.md

For even worse results, try using the example provided by the MultiMarkdown documentation:

|             |          Grouping           ||
First Header  | Second Header | Third Header |
 ------------ | :-----------: | -----------: |
Content       |          *Long Cell*        ||
Content       |   **Cell**    |         Cell |

New section   |     More      |         Data |
And more      | With an escaped '\|'         ||  
[Prototype table]

Pandoc version? Pandoc.exe 3.1.11 on Windows 10

Jack-Edwards avatar Dec 16 '23 23:12 Jack-Edwards

Correct, that syntax isn't supported yet.

jgm avatar Dec 17 '23 06:12 jgm