* Using the default pandoc style with slight tweaks
@ 2022-11-30 2:39 Nick Chambers
[not found] ` <31a74670-61c8-4654-8daa-04ad454df0d8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Nick Chambers @ 2022-11-30 2:39 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 881 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 1254 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Using the default pandoc style with slight tweaks
[not found] ` <31a74670-61c8-4654-8daa-04ad454df0d8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-12-02 23:21 ` John MacFarlane
0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2022-12-02 23:21 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-02 23:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30 2:39 Using the default pandoc style with slight tweaks Nick Chambers
[not found] ` <31a74670-61c8-4654-8daa-04ad454df0d8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-12-02 23:21 ` John MacFarlane
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).