is there a generic fallback like an "else" statement for neither html nor latex outputs?
ivo welch <ivowel@gmail.com> writes:
> my main problem is the lack of column spanning support in md tables.
> Alas, until there is a definitive solution, are there crutch solutions?
> In particular, I wonder how one can author raw html tables (and/or raw tex)
> tables into the markdown text and just do it twice, once in each native
> format.
Yes, you can do this. Use the raw attribute:
```{=latex}
\begin{table}
...here's your tex table.
...it won't appear in HTML output
\end{table}
```
```{=html}
<table>
...here's your HTML table.
...it won't appear in LaTeX output
```
> or can pandoc take an html table with column spans, properly
> designated in the markdown, and convert it to a tex table with column spans
> (i.e., not authoring the table as a markdown table).
Sorry, the answer to this is no, currently.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/yh480kr2ab3rke.fsf%40johnmacfarlane.net.
For more options, visit https://groups.google.com/d/optout.