public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Is it possible to pass CSS styles from the command line without using a file?
@ 2022-08-31 19:32 name name
       [not found] ` <1158e1bf-63c3-4e88-94bd-da6892939c99n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: name name @ 2022-08-31 19:32 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 863 bytes --]

Sometimes I need to convert a document from Markdown to HTML with some 
minor adjustments to my default style sheet, and therefore it would be 
convenient to pass those adjustments directly from command line, without 
using a second CSS file. Something like this:

$ pandoc file.md --standalone --css="default.css" 
--include-in-header="<style>body{columns:4;}</style>" --output file.html

This doesn't work, but maybe there is another similar option?

-- 
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/1158e1bf-63c3-4e88-94bd-da6892939c99n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1204 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-31 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 19:32 Is it possible to pass CSS styles from the command line without using a file? name name
     [not found] ` <1158e1bf-63c3-4e88-94bd-da6892939c99n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-08-31 19:48   ` John MacFarlane
     [not found]     ` <64C736B4-9373-4326-B706-C4B368B81133-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-08-31 20:06       ` name name

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).