If you mean a third version which is used when targeting any other format then you would need a div and filter it out when targeting LaTeX or HTML. That subject was up here only last week. Look for "conditional compilation". Den ons 10 apr. 2019 03:12jeremy theler skrev: > is there a generic fallback like an "else" statement for neither html nor > latex outputs? > > On Tue, Apr 9, 2019, 16:30 John MacFarlane wrote: > >> ivo welch 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} >> >> ...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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> 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. >> > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/CAK0LiykYbQb8JPmdahhU3rVATJWSvhrrNoTd%3DEf119-oSZ7H%3Dg%40mail.gmail.com > > . > For more options, visit https://groups.google.com/d/optout. > -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhAOC0ikuoCRVUdrzmjctaxOegRptEdpQeDUCjKiLm6gKQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.