From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25982 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: mb21 Newsgroups: gmane.text.pandoc Subject: Re: Adding minimal CSS to pandoc's default HTML template Date: Mon, 24 Aug 2020 11:42:05 -0700 (PDT) Message-ID: <8c5e8a72-f74f-4a8b-b6c4-7b79d895c614n@googlegroups.com> References: <41422a08-cc8d-4480-8bfc-03d907cb2794n@googlegroups.com> <87r1rxa887.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_726_1115403111.1598294525977" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14124"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDCMBBVJ5EFBB74TSD5AKGQEZFWP2RY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Aug 24 20:42:10 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f55.google.com ([209.85.161.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kAHQ2-0003Y2-MH for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 24 Aug 2020 20:42:10 +0200 Original-Received: by mail-oo1-f55.google.com with SMTP id x16sf5800650ooc.4 for ; Mon, 24 Aug 2020 11:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=gic0nlUWAIQxKWNhGZFdnNUk/TNiPoUgD+DjS7HIanI=; b=c9mRBTnT2sfHa7Lz9lAjdaqXne81HLQ0W5HpYHrsJRJUnKVcVyiSAwpoxt4Eu39PT7 khvrpDOBoQfbUla388g5/tFOGjg2VhjRkuBFuinKsbOZXjMHhY/Nv6VEFp0j2pnsCVW6 r/CqMpk3FrkayoLeHC6CdoXMN5+8+5QQ6T7PCEgugTCVahm1n4wg1b9kxNRUi5VwbB9y AxvJAiGDRyQP8cz31oqqdXmtyrwbxqzYSx0ut/LnZg9v7NGICsrYXWuYJehtjM1Mzc3r X7TphUDrq/wYJVd51RfO9pK5NvWwQJuMHvv4jqypvM/TNM0XmVI0HOuf+Ym/MA9F+LAM bd6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=gic0nlUWAIQxKWNhGZFdnNUk/TNiPoUgD+DjS7HIanI=; b=IkyLRrU6YJV4hIgPpMUfhreYxoelZmiL/3xn/qGtvIjQ85PQU51TbgiGVKCA/nHFlR Mbc78IcwR7v/3tm1ha28hYYKS24b469wCg2jAjWwNmP6PVQMMGndAghpRs97Mr0m5suD Y1WiR8+KFVp/3mrFwnGsZocTrr84hbhf4whP2Tx2h2LJwQADy9aizFeIgNcyx7FeToYu fQLkZUwrQps8S3XI8QwMLllozDswWihQLH2YTpeB7t+Yl/hwayg51VOqu86uFHUt/buS UN8vyW8RyoG39CiaAm+U8kZeXj03BI0BgdINKz91xCHX3TTa2a5ny1tEpkMQ5FByp+o+ 0g3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=gic0nlUWAIQxKWNhGZFdnNUk/TNiPoUgD+DjS7HIanI=; b=WrbIwpKsn6yXWBIsp4J8JlcHPXauX3+ZUDLR6PenvuRhaclzU8W/7QfP9nwIY2r9DJ T3JEiim2J30B4dN+dpkE8CRaarGNu0sfyrx8qPEbVaKeumLy4qstHxfP19fdgnFHH9nf lMTdgkjMOAJJ4bcjeH8om5xt1fBkaSv9j9BH0pdyPzGnaVtQpcZm0KC1Qq39oinnjdY4 kXSftMjL90rxRiPfZTTar2vpuuzVHA8GZMszYBNixqXzvvnmnKaOZLE8kyfzM/fnQZ0a XJGTsqyA00ioKCGCgvSYMdrMIkHS7gXlLTj448a90y+QmLFGoxMyiiaAYL6iH936lWxt A6zQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531fxtselGKkWJAB/z1Q/Zg0Ej8rZf6RokztzfFg6wd9CL/mqjfY jv3ceq9ZXXeSwzoeZl4YvdI= X-Google-Smtp-Source: ABdhPJwQMuDql/QJQFjRCyQHhG21ZH02h6NjM7Sqlf7dxgzOq6UvVdo50JO7WLvxcjTUPC37BPzVGA== X-Received: by 2002:aca:240b:: with SMTP id n11mr474425oic.47.1598294529717; Mon, 24 Aug 2020 11:42:09 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:bd8b:: with SMTP id n133ls665015oif.1.gmail; Mon, 24 Aug 2020 11:42:07 -0700 (PDT) X-Received: by 2002:a05:6808:60f:: with SMTP id y15mr451831oih.137.1598294526867; Mon, 24 Aug 2020 11:42:06 -0700 (PDT) In-Reply-To: X-Original-Sender: mauro.bieg-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:25982 Archived-At: ------=_Part_726_1115403111.1598294525977 Content-Type: multipart/alternative; boundary="----=_Part_727_342691063.1598294525977" ------=_Part_727_342691063.1598294525977 Content-Type: text/plain; charset="UTF-8" That was my instinctive reaction at first as well, but I cannot imagine a case where you would use --selfcontained and not also want some CSS. - for local preview, it's a plus if it looks good, right? - if it's fed to a website, you're probably not using --standalone, since the site generator or whatever does that part..? On Monday, August 24, 2020 at 7:51:17 PM UTC+2 DSt...-Jdbf3xiKgS8@public.gmane.org wrote: > On 8/23/20 7:54 AM, Albert Krewinkel wrote: > > Looks great, IMHO! The produced layout is beautiful, and > > supporting more variables is nice, too. > > > > The only concern I have is that this could open pandora's box when > > is comes to requests for CSS tweaks. But this seems like a minor > > problem. > > It's also worth considering that not all HTML output is fed to a > browser. I've used Pandoc to feed to local previews, or to sites that > can ingest HTML and work with it. It's probably embedded into some > pipelines someplace as well. > > I appreciate the thought on this, but I'm not sure it's something we > want on by default - and it's also something that can be implemented > fairly easily by the user editing their default template. > > Daniel T. Staal > > -- > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- > -- 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/8c5e8a72-f74f-4a8b-b6c4-7b79d895c614n%40googlegroups.com. ------=_Part_727_342691063.1598294525977 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That was my instinctive reaction at first as well, but I cannot imagine a c= ase where you would use --selfcontained and not also want some CSS.
- for local preview, it's a plus if it looks good, right?
=
- if it's fed to a website, you're probably not using --standalone, si= nce the site generator or whatever does that part..?

On Monda= y, August 24, 2020 at 7:51:17 PM UTC+2 DSt...-Jdbf3xiKgS8@public.gmane.org wrote:
On 8/23/20 7:54 AM, Albert K= rewinkel wrote:
> Looks great, IMHO! The produced layout is beautiful, and
> supporting more variables is nice, too.
>=20
> The only concern I have is that this could open pandora's box when
> is comes to requests for CSS tweaks. But this seems like a minor
> problem.

It's also worth considering that not all HTML output is fed to a=20
browser. I've used Pandoc to feed to local previews, or to sites that= =20
can ingest HTML and work with it. It's probably embedded into some=20
pipelines someplace as well.

I appreciate the thought on this, but I'm not sure it's something we=20
want on by default - and it's also something that can be implemented=20
fairly easily by the user editing their default template.

Daniel T. Staal

--=20
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

--
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/8c5e8a72-f74f-4a8b-b6c4-7b79d895c614n%40googlegroups.= com.
------=_Part_727_342691063.1598294525977-- ------=_Part_726_1115403111.1598294525977--