mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-28 10:25:41 +00:00
And similar for `\midrule` and `\bottomrule`. This facilitates redefining `\toprule`, `\midrule`, and `\bottomrule` without needing to gobble the ()s. Closes #8223.
29 lines
468 B
Markdown
29 lines
468 B
Markdown
```
|
|
% pandoc -t latex -f html
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<span>
|
|
text
|
|
<br />
|
|
text2
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
^D
|
|
\begin{longtable}[]{@{}
|
|
>{\raggedright\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{1.0000}}@{}}
|
|
\toprule\noalign{}
|
|
\endhead
|
|
\bottomrule\noalign{}
|
|
\endlastfoot
|
|
\begin{minipage}[t]{\linewidth}\raggedright
|
|
{ text\\
|
|
text2 }\strut
|
|
\end{minipage} \\
|
|
\end{longtable}
|
|
```
|