blocks when parsing
> >>> markdown to
> >>> > pdf and if so, apply some LaTeX style instead?
> >>> >
> >>> > That'd be great to avoid repeating text. I should be able to just
> write:
> >>> >
> >>> >
> >>> > some text
> >>> >
> >>> >
> >>> > And then have the conditional logic in my LaTeX template file.
> >>> >
> >>> > On Tuesday, 1 October 2019 18:09:19 UTC-5, Gabriel Volpe wrote:
> >>> >>
> >>> >> Hi,
> >>> >>
> >>> >> I'm in search of something similar to this:
> >>> >>
> >>>
> https://groups.google.com/forum/#!searchin/pandoc-discuss/conditional%7Csort:date/pandoc-discuss/R00dbPcjYRY/An6ZEYNwAgAJ
> >>> >>
> >>> >> But instead, I want a specific output for LaTeX and another for EPUB
> >>> >> (which goes through HTML). Basically, something like
> >>> >>
> >>> >> $if(outputformat=latex)$
> >>> >> \begin{foo}
> >>> >> some text
> >>> >> \end{foo}
> >>> >> $endif$
> >>> >>
> >>> >> $if(outputformat=epub)$
> >>> >>
> >>> >> some text
> >>> >>
> >>> >> $endif$
> >>> >>
> >>> >> I had a look into
> >>> https://pandoc.org/MANUAL.html#extension-raw_attribute but
> >>> >> I'm not being able to understand how I can get this working.
> >>> >>
> >>> >> Can anyone shed some light on me?
> >>> >>
> >>> >> Thanks!
> >>> >>
> >>> >
> >>> > --
> >>> > 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 view this discussion on the web visit
> >>>
> https://groups.google.com/d/msgid/pandoc-discuss/dbfa5bfc-fba7-4309-abe0-7e432cd13b9b%40googlegroups.com
> >>> .
> >>>
> >>
>
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAJReL35qw5%2BmgbQunSzi7M_f8sCG%3D9JuUX39MKvoWA1PrdXeAg%40mail.gmail.com.