From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31321 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: name name 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 13:06:37 -0700 (PDT) Message-ID: <4ebc34e4-c7ba-4d96-9ec4-0096397ef3c4n@googlegroups.com> References: <1158e1bf-63c3-4e88-94bd-da6892939c99n@googlegroups.com> <64C736B4-9373-4326-B706-C4B368B81133@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_7071_1823043590.1661976397933" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9535"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBD35HTOSWYHRBT76X2MAMGQEACUNWYA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 31 22:06:43 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f184.google.com ([209.85.160.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oTTz0-0002E5-82 for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 31 Aug 2022 22:06:42 +0200 Original-Received: by mail-qt1-f184.google.com with SMTP id z6-20020ac875c6000000b0034454b14c91sf12065474qtq.15 for ; Wed, 31 Aug 2022 13:06:42 -0700 (PDT) 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-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date; bh=k3Z4XHp6hC2GkibpVPDp3SzsXEE2jYZhudHmjb5XmNk=; b=FeBYl3juoPULG2LZWE3DV0XNNKAS6WjZLdkuYBJaq418EpWrZs8SoNCXgz2TXCIFrl dkvZXofjhCGKHPb2IwH/3AutINwhBbu9BeJOaGLxn0lsgqiVM2fUk35Zv6HFXNgEVlfU jibLEuAr7vp68gs9ecf+/yO+lrr1tSGT6Fpe2E6GZtBVcM1c9lTIFtMtjtJtwJSCJc2I f97oedDw7aaXpT23VLqOeS02MFfUJ1twh/9BYy36gz1OWaDgLIebx3CQw7kUE1NjNr4x ZKs8RXxfMfOd139b8nTGAVeAVupDovvo5puD/XrhD4RgtdJ94rq4ERYTNbBgpG3DVQM9 /Q1Q== 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-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date; bh=k3Z4XHp6hC2GkibpVPDp3SzsXEE2jYZhudHmjb5XmNk=; b=pgvzMrWwLvg4i/Y3xEKHdA/LHblyuBCpBybtqIg24iUQCDPFzewcSD4U/918OeBweE m/qNdh1fhkS3uuSFJ3CidEtGH+ccTLc+K4yP1oQ9A/Pw2fvFPy+ijcRE1YqxYFKnZm0K sH3cuVZzt2tOlIDyiGcHjCWyObC0SSIDU671eM5XfuK4cuoAgicaokKlQ/rzNOxG9a3f 4ZFV2ezjX+C4EUEuv7MqozF7Bh7rJl3QSIuFrm7KJLZqMeU92BrzA9RwGRTMTKSbsB2/ mIXIvJwzwYZ42vccctzDn5Vwb0aS98GMka3PmRyFEDNpB3uIjeNR3qEltwTffW3iRIu7 oYiw== 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-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date; bh=k3Z4XHp6hC2GkibpVPDp3SzsXEE2jYZhudHmjb5XmNk=; b=sQdUhYGgTQP1ruJqAXsduPQoudAXylibz7yyxC5Guo+aios0AdP8aX7asbSTw7VsmD ERhhbz/wB+cOPWDZdhTcNCOsvoQoge+HyXSXc1hXifkQkx+9IuS8nXDEAAqVpf2j10il U7FCkXYmwssAQkkL3WrBEotUB5mvj13jRghrAiD9pNhZkIGArbR07dUx33t1vpuTyeCZ JTDgT0sZlCqtrRXY/3r7ZFamkdNLbEC7+MdivtERTnbV7GE59nzVP10z3ynEk3EkAmn6 Kujz8Ek1RlyRtAPiB7dtNHtEphG+0usgNYyKG1ST3/FGhLH4D83uW8RTdiLEOD5zdInr zOEw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ACgBeo3EYYQ7KiwaPGQfbPzgZ4IhOxmo/+PEi9ee2AQUwaii/hhM5oO7 o7ux2A2Yf6TxtEt5sS+9cOU= X-Google-Smtp-Source: AA6agR7JnWhdf9gTVfF0FT88hMj4ZFK1Ly13EqLS+KeIrSDEI6inHrgpOxWtPTKeSETKg3KKkeWqbA== X-Received: by 2002:ac8:5c51:0:b0:344:5510:be77 with SMTP id j17-20020ac85c51000000b003445510be77mr20923267qtj.84.1661976401136; Wed, 31 Aug 2022 13:06:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:622a:5907:b0:344:94bf:7994 with SMTP id ga7-20020a05622a590700b0034494bf7994ls27105qtb.0.-pod-prod-gmail; Wed, 31 Aug 2022 13:06:38 -0700 (PDT) X-Received: by 2002:ac8:5704:0:b0:343:55eb:acf with SMTP id 4-20020ac85704000000b0034355eb0acfmr20382739qtw.322.1661976398552; Wed, 31 Aug 2022 13:06:38 -0700 (PDT) In-Reply-To: <64C736B4-9373-4326-B706-C4B368B81133-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: ivan20151013-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:31321 Archived-At: ------=_Part_7071_1823043590.1661976397933 Content-Type: multipart/alternative; boundary="----=_Part_7072_1745464875.1661976397933" ------=_Part_7072_1745464875.1661976397933 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Or --variable=3Dheader-includes:"". Thanks! On Wednesday, August 31, 2022 at 10:49:00 PM UTC+3 fiddlosopher wrote: > 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= =20 > minor adjustments to my default style sheet, and therefore it would be=20 > convenient to pass those adjustments directly from command line, without= =20 > using a second CSS file. Something like this: > >=20 > > $ pandoc file.md --standalone --css=3D"default.css"=20 > --include-in-header=3D"" --output file.htm= l > >=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=20 > Groups "pandoc-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send= =20 > an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/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/4ebc34e4-c7ba-4d96-9ec4-0096397ef3c4n%40googlegroups.com. ------=_Part_7072_1745464875.1661976397933 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Or --variable=3Dheader-includes:"<style>body{colums:4;}</style>= ". Thanks!
On Wednesday, August 31, 2022 at 10:49:00 PM UTC+3 fiddlosopher wrote:
You should be ab= le to do -Vheader-includes=3D=E2=80=98<style>body{colums:4;}</styl= e>=E2=80=99



> On Aug 31, 2022, at 12:32 PM, name name <ivan20...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>=20
> 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 u= sing a second CSS file. Something like this:
>=20
> $ pandoc file.md --standalone --css=3D"default.css" --in= clude-in-header=3D"<style>body{columns:4;}</style>" -= -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-discus..= .@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1158e1bf-6= 3c3-4e88-94bd-da6892939c99n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/4ebc34e4-c7ba-4d96-9ec4-0096397ef3c4n%40googlegroups.= com.
------=_Part_7072_1745464875.1661976397933-- ------=_Part_7071_1823043590.1661976397933--