From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31320 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Is it possible to pass CSS styles from the command line without using a file? Date: Wed, 31 Aug 2022 12:48:47 -0700 Message-ID: <64C736B4-9373-4326-B706-C4B368B81133@gmail.com> References: <1158e1bf-63c3-4e88-94bd-da6892939c99n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2740"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBKPWX2MAMGQETEYCP6I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 31 21:49:02 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f55.google.com ([209.85.216.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oTTht-0000XW-Sm for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 31 Aug 2022 21:49:01 +0200 Original-Received: by mail-pj1-f55.google.com with SMTP id nl14-20020a17090b384e00b001fe376f9dc1sf707054pjb.0 for ; Wed, 31 Aug 2022 12:49:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1661975340; cv=pass; d=google.com; s=arc-20160816; b=0VquIgcQf9hLnKUtsACWSgRAYWIAfMUAbLWKIu7JhRQkjkqIz3VgF03swerZ+Pyykb 6e05GmtPLH9sNlIPjypqJgWYqG5eTvwtf4Te41hd+8YcuUZ8+VQgilK9RkF6MKMHuqmu 5xGACszt0Bs1TohkZqG8eqiqJ8+ZpsusVMTXdXQDbqZsQ7Zo7qjpmf8+v9IDnu7DyfXB +72IfdcigvYffVcdD0lPFZfsBsJ1TJVG9k1UFc4zjBYtpMkP6n/jhbwXTlQ49BMMkamt UuvKGou6CplA+UFN2kCaxg3Hxwap+I50Vzzwi57R/aryUOK/8T7v1z9e0jxK6nqYlB6t hl6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=rQvgdBw5dekfGhjFxKqzWn/A1G4yvpFcJ9GdDMfm1Kg=; b=b3ZU5n+Pa7CmSSTX03vk8P20rTk+GF/HGxToQHMElYpceTbYakLNNxR+MGnqFl7e2N ZSFYgQFuHFiFUCrbgzD5c+e5/IGASyZtF+fy6zIWCrIytMy02bNTjZGsnUFSKDeODJN+ Fnm90euwc2GVRK38+vkqCClhwAesaHMagwXmmQRsejvYEw28O/lCifDPI3ZtqE+yzHUA pLZPf/Xr62I7skUfFFrT802hlA+f3iiakNQlsaHSfXNjb7CHTPM9IEzrYroSt+7uFrtn NJSAZvUklE9wDF890KmfPNnIyQXgKygWgY1mhqNZ5F2B7tKNq/2YGHwA6K2qLUCvAbQO 3ePw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KYRmcvJ6; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date; bh=rQvgdBw5dekfGhjFxKqzWn/A1G4yvpFcJ9GdDMfm1Kg=; b=bn/uWhZUuh7H/aNqVNh4R1cOlUJ1t7yQp1C/arOFTeXcyTttcU7Bji1Bdk6w7y1FZe gm6DlQSaihzRnglOeqYPLQ249p8JyptTvHbO2pHjY7MHNMw+ogtaTrhhUX5t9e2ZwM85 heXdHzoNGrvdDcd0yQi9uaccSjV5kYrBwh7ngbXPiZbQzYalf7pLHS1qhyiSTRV+VG0h +yz0skSkpJbdO5/rA1++wOxlGyKPz6mCTdbS7X3gQDiT3EOTkFzTRFT7ImSA8d+pAEFC PJUd9d7JVAFvwTNsJlsJIY38lnHtglmac7eQv5XD1vP7ofYvURkpMk1odmZwIdBrGcGh 5pHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date; bh=rQvgdBw5dekfGhjFxKqzWn/A1G4yvpFcJ9GdDMfm1Kg=; b=b3CdW/mGbX341BhGHiS0kpz3tHYYEgeXPzPAswyYD+A/LGhFJ23pIuIRLeNsgJTS7X h6wKY6Iff2UjOt2YV6QXLqdd2plyjKlTsWpdEzlX6nxKnZ1cKnb+SSRHERn7FiC9X+AS DhfKtsjwm+v1FIK3nnanUj4y6NEV1rUN1ruYEWLP2xS3VhJ7twNKS8waJtmJIoorcl0i tMmVZDemoyOCjsgY+A9vW/8vhAVKnXhvLpg7UxyNKQYI5yWxEz7AgIALMUJB+snvOHQB 3CDuu9zevd+6iRqhlv2Z1LDKj9u0nowSfTZao7XS4t9i8ZbP8Blrq/IhVpOiPnW46wwZ 4OxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:sender:from:to:cc :subject:date; bh=rQvgdBw5dekfGhjFxKqzWn/A1G4yvpFcJ9GdDMfm1Kg=; b=AvQpw2g4juWsQ48EJ7Ksmrmxnpq2ZHcnviOyBr70imRKrtP+sfX8h24VCF05bUTahv 66qQY84VvCss64q32NmdQMIuC1c0JRYCkH1cJJ4LxNKqSOPJdnArNoW6y+/r0Risrvtz fy7L/vxKvWH+Apv8ysRexXkq6StmErHCcSNJTzanW0MCbFEy5bdecno0PRGwCwYX2aid VUaKqal+Qh2DKGVCKfO/J5yewO0bgPMaQJLTkNHeWcEv4iDq8CYgoZZNkqv3DScjSvCL +kwrKhPeGiy+UJl4dh6EXVVi9MXCz7StwwUccUQk Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo2zC5hJdvDP52N9JDpOBPrZNbCjl4rVKPmrtdZn2V1tCymSY3oL QIdJ2xtnwuw98E2dwIoMzBc= X-Google-Smtp-Source: AA6agR6RBzxB0tPf9HeMlPCe0tJ385cgiAR38VY1SoSB5yMItADY4/KIWdgFpMLcTMvrsJ5sh3hYVg== X-Received: by 2002:a17:903:24f:b0:172:7d68:cf1 with SMTP id j15-20020a170903024f00b001727d680cf1mr26873402plh.55.1661975340400; Wed, 31 Aug 2022 12:49:00 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a63:2bc2:0:b0:42b:f603:4b2f with SMTP id r185-20020a632bc2000000b0042bf6034b2fls7986pgr.5.-pod-prod-gmail; Wed, 31 Aug 2022 12:48:56 -0700 (PDT) X-Received: by 2002:a05:6a00:10c2:b0:4f7:5af4:47b6 with SMTP id d2-20020a056a0010c200b004f75af447b6mr27884458pfu.6.1661975336612; Wed, 31 Aug 2022 12:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661975336; cv=none; d=google.com; s=arc-20160816; b=OsPLV3M9U9LYgqaQqNzCmfroVhpGX2Hs0AlpbDxBWWOln1ox0PZL32/bOoPkEG/eQQ QNYABem3mmufFVWcpFXsfeUnZUJzoIhtPbYo3345NXvrsWi3J5qr0rse1uAqFr5zVPxL eib1G/5gYUkX9ugh1h5fY8UuoAqkx9xnRpOcwKq69Wgmqr2E6m/fgyGw3WGJk0FptB0M zoB7jDDwRSO7kZOAWjtlc8c4CavpzWmT02kCG+Ylbj8baykL1kkD5+4V00t1XeHDRISp Cp0AZoq15CTM7Z39KhzZqSbLXznGJGL24aoxwm030k5xIAJfNi1GaJnV6A/iB3i76v5o rIjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=xUFOMSSBuFtiOsuWuJPCiNCkCASweO3i/Yt8x35tShA=; b=bvl5ubt4LIQHFyZ8rjlTJITs4w5g1D7l/C8in0fO8r4ZcHq3XUiY6XP8YIYw5/I3qb YEFSbyQzI3XEbg0KLoUflr+54Tkp9eq6ZDkirVKigic80DZeuj/U6DIbSjegy3cw6Rw4 uFNozQawfOPO9IUkMwv27A/5z55ySSCbeI+5QGZB2ltUJZKn7UaE7xlMuJbNgid6+Ixx VOVdbCAHirfQXPnYhtQjSDSuGiYECmsgwIrdqZvJpCmEJAjs2J7qIEb5F7sv/8i6FyeX DaIHFJ5wklvXKB/+gLcPJLrgZogiHNpwxB+WhJaQJcVsr5DQoMDq3a8ivjoQA2Ydz3WY WdoQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KYRmcvJ6; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com. [2607:f8b0:4864:20::42d]) by gmr-mx.google.com with ESMTPS id nd10-20020a17090b4cca00b001faab3fc6a0si154231pjb.3.2022.08.31.12.48.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Aug 2022 12:48:56 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) client-ip=2607:f8b0:4864:20::42d; Original-Received: by mail-pf1-x42d.google.com with SMTP id z187so15414049pfb.12 for ; Wed, 31 Aug 2022 12:48:56 -0700 (PDT) X-Received: by 2002:a65:6949:0:b0:41c:cb9d:3d1f with SMTP id w9-20020a656949000000b0041ccb9d3d1fmr23246890pgq.334.1661975335979; Wed, 31 Aug 2022 12:48:55 -0700 (PDT) Original-Received: from smtpclient.apple (protagoras.phil.berkeley.edu. [128.32.252.45]) by smtp.gmail.com with ESMTPSA id x10-20020a170902ec8a00b0016c0c82e85csm12165473plg.75.2022.08.31.12.48.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Aug 2022 12:48:55 -0700 (PDT) In-Reply-To: <1158e1bf-63c3-4e88-94bd-da6892939c99n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KYRmcvJ6; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31320 Archived-At: You should be able to do -Vheader-includes=3D=E2=80=98=E2=80=99 > On Aug 31, 2022, at 12:32 PM, name name wrote: >=20 > Sometimes I need to convert a document from Markdown to HTML with some mi= nor adjustments to my default style sheet, and therefore it would be conven= ient to pass those adjustments directly from command line, without using a = second CSS file. Something like this: >=20 > $ pandoc file.md --standalone --css=3D"default.css" --include-in-header= =3D"" --output file.html >=20 > This doesn't work, but maybe there is another similar option? >=20 > --=20 > 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/msgi= d/pandoc-discuss/1158e1bf-63c3-4e88-94bd-da6892939c99n%40googlegroups.com. --=20 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 e= mail 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/64C736B4-9373-4326-B706-C4B368B81133%40gmail.com.