From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26016 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Ganriel_N=C3=BCtzi?= Newsgroups: gmane.text.pandoc Subject: Re: Adding minimal CSS to pandoc's default HTML template Date: Sat, 29 Aug 2020 12:06:22 +0200 Message-ID: <6497A421-E81B-45BA-8148-47B9CFC94C78@gmail.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 (1.0) 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="6634"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDRZVNGQEQIKFUNI7ICRUBF5PNQLO-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Aug 29 12:06:31 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pg1-f186.google.com ([209.85.215.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kBxkl-0001eB-6B for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 29 Aug 2020 12:06:31 +0200 Original-Received: by mail-pg1-f186.google.com with SMTP id l6sf2117339pgm.15 for ; Sat, 29 Aug 2020 03:06:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598695590; cv=pass; d=google.com; s=arc-20160816; b=UO77Z3b/j0HadStapGhcbq+TLO7+Hg/11G1ikB4CoxjSaB4NZXRKVU4XxMwqji+z7T Zg1iPjGKR4pd+sQoAIZl5tOJ44s8zCzK8d//NNgttE7jH3VLNix9D1AZTyt0wj5pk+es ZtSq/Cg1mZRj63baFkyaTNwXQT3rZWuZ8DVn6fPSJKC+c5NBgCQ0OXTryn9ux2bTow3+ 8mp5U9Q7McbsKAi9CZDR4VsB/ryTbdBphxgaGREYF4thAXPIhtQ/0rDcHPX9b14DQP+C 5ZREeGJ11rlBpx4vvqW9D2RAGEYEbyNzT7FgRaMc8k3pzRit8WkC8o0bHkfdDADYQ4nv bg3A== 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:to:in-reply-to:references :message-id:subject:date:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=FlfzJqbZQmGVnC7SkFvPhbd7I+7rlVcDWDlCsnQkOLk=; b=nj5ZgVzjgYKyw9jLs5CKWis5I1WmAL1PnyExVqNkub125s4CAMZ3qH8lewgcUwHP7p gZNCjswKYdLsDhPFg0UHOXf4rt+TrDFO0XEsca6CRim6QQ2/XRxyRa62FZhTmOc/9rEX Vk6S77gUMjsgvWesWPi4vsjGJTFE/S2u2kkvTzZdIh4skvP0KF8t6nx8ty4iTADAL0N1 1TlXOPHH47xBi7p2EAfFy5ZNjhG9wtGDHQ/kg5iPvW/08ak13/HlVw6x6XgRY9tLbl0l TMQLFtMrHWScKtwaDTW4ET/MXQIYYEhVNI7tsiEt0cZbhwezh0agWm3EXZhLPTkf3gte sHQg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hx0uQEhV; spf=pass (google.com: domain of gnuetzi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::72b as permitted sender) smtp.mailfrom=gnuetzi-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=20161025; h=sender:from:content-transfer-encoding:mime-version:date:subject :message-id:references:in-reply-to:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=FlfzJqbZQmGVnC7SkFvPhbd7I+7rlVcDWDlCsnQkOLk=; b=Q499H9PedFpJDHqjbVuvB+Z1tvK7LCJ/jXVulcrfMO0XKbkZvQBzH8u8eKRnUW+MxB qWt6F7b663BS3WE5+VnrBHGFplmGPmfCRhkrYMHpFs1p15AHuJ6lraB/yp9rrpipyjvv 6mBRn6UTegTkGe9t8M0IMY97SjK8cjqZUMjeIOhcknOfEgsSAd6VAkVrSmUQSDnGrp02 n4djEQNo2eSspObn6CWELQMSV11s5JxUh9npT2OdowSxDv/e8+aVw9quxG1zNXR3awDO SjO27aw0owqE3oQf8CTZSnc2AlT401nexmU3QgDwstDK9l2hRdShMpvMXeOlr6J94tRw 4W1g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :references:in-reply-to:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=FlfzJqbZQmGVnC7SkFvPhbd7I+7rlVcDWDlCsnQkOLk=; b=CNCE9FBS6D7OiS9AtvZvr5tk7tz4uSeSCqDGAJALMq5Q0c4eVXyr3hInoorw0uwN5J RRkuI/z7jZfNoShT9vatn9tbEhSjPoLnQaNK5qgFHkIu3y5+9hEjMavf9Os7RnShiQ24 QPqyy7KNPxe1gn0NXuM4vSwf9OOonZlfl2UbQXXyeFIk47eVlUCSRi8+c8LymkfzYEd4 gitD7x+Jpb9lp6DT1RNcdZGl/ikvSLn6ABd+4oNsuUjGJzmNg97sWRuTho/gsJVdc8/X FsbakqG9WChmC/jfrc7UTLmsb8dI6PAohMRpLOWSWj/Wo+ik63be2NyatL0L2ODQEy+2 347w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:content-transfer-encoding :mime-version:date:subject:message-id:references:in-reply-to:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=FlfzJqbZQmGVnC7SkFvPhbd7I+7rlVcDWDlCsnQkOLk=; b=kEdFhIRsif9LsGsq8Tx85OCbkdz3lqRLBeV2iFg6La9yTNMDdB3eqHPdLNL5yR7EyS HVZLQjj3rkmj1zQCtB8R7EqeSrl9dl8/hYBa9JkltjZs1zn+Hj66WmvEYBZ3XSqZm9eI S7wYjY3S3u9Taen6kYQLJkw5NZHO5Yb84/ab9PDapuOerbctXAst4MWCX3AKNan19LBU japSCiw4hHu1BbgBdshDSCweRKsfMVp+iXsKAFPfemmc91J7voRj2wsnv+EsMWA4nf+i JD0olnV35YTUP7vG+ga/W5RXJuodg+k+XbaRWRlqOOd3xMWflHyeYlZE4zmDKQmesMBN Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM53317964JavyN6o5+atZ8lLRUT06bVLE+GSAavEJtFlJetFsmK+c TQHkQUArioJ8rFjFOHE303Q= X-Google-Smtp-Source: ABdhPJy2MkF4MhoS7fmBHU3s1dj/kgskqHCA5vlVq6jrcFPP9toMi84mJ2aS2pP1xs+YSVfwQy1pHA== X-Received: by 2002:aa7:981a:: with SMTP id e26mr2490566pfl.25.1598695589728; Sat, 29 Aug 2020 03:06:29 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90b:3355:: with SMTP id lm21ls678529pjb.3.canary-gmail; Sat, 29 Aug 2020 03:06:26 -0700 (PDT) X-Received: by 2002:a17:902:e993:: with SMTP id f19mr2113317plb.270.1598695586337; Sat, 29 Aug 2020 03:06:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598695586; cv=none; d=google.com; s=arc-20160816; b=tWh0luWaAY8eBEzQCQOM4Ei5VB2RkjmRMQVzEmJoMYYJ9GhkfSMhQwKak/1ybQcCqo 6WA3eCY7uzCB/k09xPwgDGoFcN3fgmJAG72W2D0fmt0n259HLTcBsLdecCVgbiDD52lQ OVibfCheUnl6ZYtuJ/+zvJGoMY3LrvqaxlTkboxrLChwUBVdlTzW8qgtM+PjqBLzEvhT 8oaOepJ5wJVXswZ+oYtXw5sPupy39N4xON1x+ytOEb06+HD6JL9N+RPkfbHphS7q5s91 eiz3pNn2NBejR/XEpf8U7u/pz79raQGOpIevFW1zBM6ae04gfCvKjTT2IGwMwRPZasnB kknA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:in-reply-to:references:message-id:subject:date:mime-version :content-transfer-encoding:from:dkim-signature; bh=dJZRmqI5c7yWHo9s9BJSKclv2IOsBXCEedWYdswFdPE=; b=0mMmubIF2PxriURbx0zbiqKf1DzupUT3HAQ8mCkcotY01DAx8WxpBZmosSWAqevV2r IhAaoAep1/AcU6se6qYNb8NuO9un3DBEEXZ6KxpcETiskS4wLESJhieAlYKLws9TFVpY 4QV6ecu8D3C6wNh2uSsD7+vo97tbwJNgfZlRCZjnOQzDmqzCDP5ZuN8/Z7mfJRFkoilh 8iLGY30foHXLyM00ucAc/H6Of5W2fsXC8Mwekjj9V3xUcgNQ+I+EhW2V7pgv5LKmwClz 9vpO6wIMPN8irh0GfZHWSaiFpJAGnSEyOsYcNV9llGA4xin8BM2lYl28kTLZ05s4NJRa VluA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hx0uQEhV; spf=pass (google.com: domain of gnuetzi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::72b as permitted sender) smtp.mailfrom=gnuetzi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com. [2607:f8b0:4864:20::72b]) by gmr-mx.google.com with ESMTPS id s2si95577pgh.4.2020.08.29.03.06.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 29 Aug 2020 03:06:26 -0700 (PDT) Received-SPF: pass (google.com: domain of gnuetzi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::72b as permitted sender) client-ip=2607:f8b0:4864:20::72b; Original-Received: by mail-qk1-x72b.google.com with SMTP id v69so775647qkb.7 for ; Sat, 29 Aug 2020 03:06:26 -0700 (PDT) X-Received: by 2002:a37:c202:: with SMTP id i2mr2870116qkm.169.1598695585698; Sat, 29 Aug 2020 03:06:25 -0700 (PDT) Original-Received: from [10.80.164.253] ([83.137.6.189]) by smtp.gmail.com with ESMTPSA id v202sm1955833qka.5.2020.08.29.03.06.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Aug 2020 03:06:25 -0700 (PDT) In-Reply-To: X-Mailer: iPhone Mail (16G192) X-Original-Sender: gnuetzi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hx0uQEhV; spf=pass (google.com: domain of gnuetzi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::72b as permitted sender) smtp.mailfrom=gnuetzi-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:26016 Archived-At: It would definitely be a good idea to support a minimal css such that the d= ocument is somewhat sane. but anyway where does it stop, like Albert said i= t opens the box for requests like =E2=80=9Eoh can we add this or that=E2=80= =9C to the minimal set :) However is the current impl. such that the minima= l css (document-css) does not get added if we use a custom css style etc. B= ecause converting an older document will result then in a minimal css + cu= stom css?=20 is there not room for an external solution: a repo with pandoc css styles w= hich can be used and which is referred to in the doc?=20 BR Gabriel Von meinem iPhone gesendet > Am 24.08.2020 um 22:03 schrieb John MacFarlane : >=20 > Daniel Staal writes: >=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. >>=20 >> 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. >=20 > You can always use "fragment" mode if that's what you want (no -s). > The CSS will not be embedded in this case. >=20 > For local previews, though, won't it be better with the CSS, > which gives you a sane margin, fonts, etc.? >=20 >> 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. >=20 > True, but if this is an argument against it, wouldn't it be an > argument against *everything* in the default template? >=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/m2v9h7x13x.fsf%40johnmacfarlane.net. --=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/6497A421-E81B-45BA-8148-47B9CFC94C78%40gmail.com.