public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Using the default pandoc style with slight tweaks
Date: Fri, 2 Dec 2022 15:21:10 -0800	[thread overview]
Message-ID: <C2C63074-448C-4034-ADEE-A136D52161BA@gmail.com> (raw)
In-Reply-To: <31a74670-61c8-4654-8daa-04ad454df0d8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>

One way is to add a link to the new stylesheet via header-includes.

—include-in-header

or in metadata

—
header-includes: |
  <link rel=“stylesheet” link=“mysheet.csl”>
…

> On Nov 29, 2022, at 6:39 PM, Nick Chambers <dtscode-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 
> Hi! I'm using pandoc to generate an HTML file using the following command line:
> 
>     pandoc -o doc.html -f markdown -t html -s --toc doc.md
> 
> The default style is almost exactly what I had in mind, except for a few additional tweaks. Namely, some CSS settings for dark mode vs light mode. However, when I use `-c my-style.css` the default style no longer gets used. Is there a way to retain or explicitly include the default style in addition to my custom CSS file?
> 
> 
> -- 
> 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/31a74670-61c8-4654-8daa-04ad454df0d8n%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/C2C63074-448C-4034-ADEE-A136D52161BA%40gmail.com.


      parent reply	other threads:[~2022-12-02 23:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30  2:39 Nick Chambers
     [not found] ` <31a74670-61c8-4654-8daa-04ad454df0d8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-12-02 23:21   ` John MacFarlane [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C2C63074-448C-4034-ADEE-A136D52161BA@gmail.com \
    --to=fiddlosopher-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).