mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
626ffd74b4
This is needed for raw environments to work inside table cells. Closes #9517.
35 lines
715 B
Markdown
35 lines
715 B
Markdown
```
|
|
% pandoc -f latex+raw_tex -t native
|
|
\begin{tabular}{l}
|
|
\begin{theorem}
|
|
Cats
|
|
\end{theorem}
|
|
\end{tabular}
|
|
^D
|
|
[ Table
|
|
( "" , [] , [] )
|
|
(Caption Nothing [])
|
|
[ ( AlignLeft , ColWidthDefault ) ]
|
|
(TableHead ( "" , [] , [] ) [])
|
|
[ TableBody
|
|
( "" , [] , [] )
|
|
(RowHeadColumns 0)
|
|
[]
|
|
[ Row
|
|
( "" , [] , [] )
|
|
[ Cell
|
|
( "" , [] , [] )
|
|
AlignDefault
|
|
(RowSpan 1)
|
|
(ColSpan 1)
|
|
[ RawBlock
|
|
(Format "latex")
|
|
"\\begin{theorem}\nCats\n\\end{theorem}"
|
|
]
|
|
]
|
|
]
|
|
]
|
|
(TableFoot ( "" , [] , [] ) [])
|
|
]
|
|
```
|