Oh nevermind, using --template and modify this one? https://github.com/jgm/pandoc/blob/master/data/templates/default.epub3



On Thu, 17 Oct 2019 at 11:46, Gabriel Volpe <volpegabriel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Pardon my ignorance, where can I find this source code? And how can I tell Pandoc to use it?

On Thu, 17 Oct 2019 at 11:41, John MacFarlane <jgm@berkeley.edu> wrote:
Gabriel Volpe <volpegabriel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Thanks for looking into it!
>
> It might be hard-coded, I don't see any reference to `.sourceCode` here:
> https://github.com/jgm/pandoc/blob/master/data/epub.css

This is the relevant part:

$if(highlighting-css)$
  <style>
$highlighting-css$
  </style>
$endif$

Note that this comes *before* the link to the epub stylesheet,
so you should be able to override things there.


--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAJReL36r16QzF00d7S38GRNNEJPdNdm7j_x-a9dwwaffpxS1cQ%40mail.gmail.com.