From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/26020 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: External syntax highlghter CSS Date: Sat, 29 Aug 2020 18:20:48 -0700 Message-ID: References: <472847d1-1058-4f1f-a13e-b1464c6f6065n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17852"; mail-complaints-to="usenet@ciao.gmane.io" To: "arnold...\@gmail.com" , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB7P5VP5AKGQE6MWG36Y-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Aug 30 03:21:05 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f192.google.com ([209.85.160.192]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kCC1p-0004Y8-HG for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 30 Aug 2020 03:21:05 +0200 Original-Received: by mail-qt1-f192.google.com with SMTP id e11sf2954474qth.21 for ; Sat, 29 Aug 2020 18:21:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1598750464; cv=pass; d=google.com; s=arc-20160816; b=C+daUR82BEokXm9Gm6Bg52hAMpI7MH9jXXAtm0cEpkJAlaf+fVzITmtsfgZDFqPQk0 6TYFvpktUyyMzboMqPYFtvwe1f7hNLlfHaUlUz8er4c1brbfil8Y2Y7Z/aJHZBkAKfuJ 1dXF9/iO/+NIqXADLmvNaandU+wmoSQErGFDhwMM69c2n0oaUUMvJ+OC55UEeDlTs7k3 PQ7swm06I0MvuDrmwoCOjCPs/+AupUfknr8omG+3fw3Mvzps4HMC4smfx/dcEPSncYZS Bv/fMFiHtZU2TSa35oLBQzuJhhnGhJDlH3L//xcR/cVZOrehtGJQ3x4afSS/AMPB8XeV naiA== 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:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=yZCcbO1PiAq7vCxtk8sJsJO3O9x2MRK0mN89R1L6aoo=; b=jzxwN5RoGSK0RBoDUrrSI8ByhQzQAYlzNy/oV8eaT+2dxZbHya3y2N6Nv0EBOqKrgR XE/XulSRLSQzYRQU6aKyPB4OrD0YZ6YvzTZWTt91dSSMl340/szV+lDCOp9j+kZTo+Rp xjOHa1ELWi8V/wf5rg8k80Tfmcq8JZBG0O8Ei53jtjxg3P6c/XaZYacZRfgXVI1QKhmD ShARn6XsycdoQLy2SThoTbfnB7b0sV0Exv/QiAZKeR5mAAQgboGCRBc1Gr7FzruJhHgY cKkwtl8oONJC6EVsgYBnGzd4HYLrSYltwmPqBABHgFUqBZ5ZGhDCl9STJSVCeHLUAon9 iADA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=TxfKnSPv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version: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=yZCcbO1PiAq7vCxtk8sJsJO3O9x2MRK0mN89R1L6aoo=; b=JmeSKRI2loeVwRTby+eeiYcgzHZ2RDQ9gFcwmB9eVb/jhDnKGp5rxJk98+HGnCo59i kLaQ01YsJt5dUmUq3lYkUHG+V40zm+Rj7i0pe0Q63kczihV5sPR3cH/yItC8UaxeWBq+ DR8gNa6+xaII0dchyWeBvUMQksbaPg+VMXFkixOPNI3Gq2XeASKtNbsWLG7D/IwDwDeF B00FU1P3X+CTwj49ynhQM/3jTjVkcnvDQ2otcM9N+26sUfuFUCymKxsP0FnfNnAyvTY9 dgkN7ZkOtdVcW8241e+LiU0u2K1h64ojFnkDsc3o/iGMjYfZkPsYO/AIuBQJB2haxQlU HTXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version: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=yZCcbO1PiAq7vCxtk8sJsJO3O9x2MRK0mN89R1L6aoo=; b=QEtMKMLjfaghwebtjeAaUkJpxj56CnOe0plMydaM/ol88sw/hu6RrKpS8Nd4XbzWGd Wo6zJPtzfqSwnxuwjMdjjIF2TiGG5heh23o+AYZut+bsPtJmloHMFUChafbpZ2jvsDdd 7k4mYV4wXlCz4RPhfpwna42vKU51cwSEFo+p/UR4CmMFlLo5PLMcVKQexdVqXQUeY2UM CTnxQKy3ESx1Hv8Rrd1tGCrs4gVAwqvZaXEAovuRx8BpIS+1IS/+/CdjWF5UTPkPkNRE YjCq40m4VMULgcjRiSka3GDxOsQp/fkdGARV6x24x6ge62XoNQboopt4NmApjEUnXJCg YPBw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530v4ycBvb7SsykwlWNma4NY5extTiiR3HnH5gWGNLiOLPiQrbHJ SyG+eG3egJtcn5i/Oft4b00= X-Google-Smtp-Source: ABdhPJwNYVE0hZGmPzpVelyDXMHj5Z4Q2tadXxaP+K/hjXDWntZFxHQLKeLJsTfTkjGVorV2zSBQ/g== X-Received: by 2002:aed:2c63:: with SMTP id f90mr7703695qtd.262.1598750464564; Sat, 29 Aug 2020 18:21:04 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac8:22ca:: with SMTP id g10ls1380314qta.3.gmail; Sat, 29 Aug 2020 18:21:01 -0700 (PDT) X-Received: by 2002:aed:2226:: with SMTP id n35mr7642889qtc.19.1598750461690; Sat, 29 Aug 2020 18:21:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598750461; cv=none; d=google.com; s=arc-20160816; b=Ec5y54nnG4ocTfKIHL+XRQCR5zA/nVf9L3N309TxsYtHJA73TggBIsHehEndU1PvJv FMNQwyLejVvjVYvQeaEvPjo5E3K4RbXqXVKOi0iX+E9CvS8cy9Y/yATmlyQryLNsaE3S 6+a9/vItPsniaSnFB6FBXh9ECrLesHdbK5QwEloLHtitzrTNCwtxPJW5vkajfykSEnp+ ZbW1O+6wZsqXAQHff7WhmAX2eZK41p1Cle7iNnLTaGUrac20D0ay7KFDkOo0tXsrLQxW 66nE4Tqie6JsfxDCMNfOdGyB+hdC6KqFfHktLnLy0GgDhjmLnX4sPTTNWWsnftXVVDGs /Lfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=4oS6ZjO3h1EQXqByX4+QGGLhIKR1z/J0pWjN2cg/wlA=; b=tqZZ8+KRAxEW1Dx1Xe/N6ARTnYDnvSFxxvWAjFWd+fZNPLWUfGrz7BlZw5J8n5Z8iR 4Ca0zQmDqXHwAUOIVoFaVqR9fugafRQ3/t8ndiZMCLO8GnwbG6PQ0jZQku/fhmkq/OhE 3RGDZjQPWs1ug5vJJK3tLWOSvc3wCgBUL3nwZWGYX4Xm8udgSIZ29LRLQhKI3j1+PH1e bfC1LjffoDwVmhWgbukqI+UNMSPfI/7RDQx4ivMkklQIRj3TkQNjkWh9FlYfS/+9PZib kOiXAHYRxOLXdfmXw6YYm8ZEYTgsgtszSUQ9G3coxbEPIr3kLoZy4BlH5q5Lb3z4vTwR a3vg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=TxfKnSPv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com. [2607:f8b0:4864:20::102f]) by gmr-mx.google.com with ESMTPS id d1si158112qtw.2.2020.08.29.18.21.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 29 Aug 2020 18:21:01 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102f as permitted sender) client-ip=2607:f8b0:4864:20::102f; Original-Received: by mail-pj1-x102f.google.com with SMTP id s2so1236142pjr.4 for ; Sat, 29 Aug 2020 18:21:01 -0700 (PDT) X-Received: by 2002:a17:90b:18e:: with SMTP id t14mr5044711pjs.69.1598750460509; Sat, 29 Aug 2020 18:21:00 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id y13sm3911114pfr.142.2020.08.29.18.20.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Aug 2020 18:20:59 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id BFB25A2A1; Sat, 29 Aug 2020 21:20:48 -0400 (EDT) In-Reply-To: <472847d1-1058-4f1f-a13e-b1464c6f6065n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=TxfKnSPv; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::102f as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:26020 Archived-At: You can do that, of course, but if you want to customize, a more robust solution is to use --highlight-style with a JSON .theme file -- see manual under --highlight-style. Unlike fiddling with CSS, this will work for every output format that supports highlighting. "arnold...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" writes: > Hey folks! > > Can someone elaborate on why syntax highlighter CSS is embedded into html > markup for EPUB files (as opposed to the default epub.css which is linked)? > > I want to customize the syntax highlighter CSS a bit (not just colors). > What are the downsides of specifying -V highlighting-css="" and appending > the customized syntax CSS to default epub.css instead? > > -- > 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/472847d1-1058-4f1f-a13e-b1464c6f6065n%40googlegroups.com.