From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gMyHK4kEOWNheAAAbAwnHQ (envelope-from ) for ; Sun, 02 Oct 2022 05:24:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yBipKokEOWNoJwAAG6o9tA (envelope-from ) for ; Sun, 02 Oct 2022 05:24:57 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 643E83C89B for ; Sun, 2 Oct 2022 05:24:55 +0200 (CEST) Received: from localhost ([::1]:41558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oepb3-00072u-K3 for larch@yhetil.org; Sat, 01 Oct 2022 23:24:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oepaf-00072j-1c for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 23:24:29 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:36803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oepad-0007tM-AM for emacs-orgmode@gnu.org; Sat, 01 Oct 2022 23:24:28 -0400 Received: by mail-ej1-x633.google.com with SMTP id 13so16198822ejn.3 for ; Sat, 01 Oct 2022 20:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date; bh=z+aHGkaHLJxmR+x4fBcepzrCkfBIC4AL4ekwFghhMCk=; b=qBUATrSZtHqmxzni7vjQw/72cAiuU98wq3ugKKdpLiYX5PnFVkxffrlFS77HdO4Z0J 5rsOaLTsI/pEmZj6RVXouaM8WBJzpGQC4Rinq25LysTs0MgKKOdlpmqmznU2TbZXQJd+ +TvEyypQFfvJ5J0NmoPrjPCbmE/ziPl+S2p7VjHRVfXWPj3lD81tX8kEVDWtqeFsiHup V2SM94By7YkJ3Wty2/P0lHdi2vSxHFgWZTSRWEJDDXQ3v3yWx8BrobtXn8Lo5udgVoY+ HAH4WukMt5n1AOton0tqRKD1JH9zcHAxe8+h4ASOKOYO2JEMJ8r9JJhFjxAqvvVwnWie csvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=z+aHGkaHLJxmR+x4fBcepzrCkfBIC4AL4ekwFghhMCk=; b=4eKFxzzR1cit6YiwdaHifvSoVC2rApkbaiRRGlJ6DHSbfOpq9DGvR1AB9dw3kD0O83 Q1ok2RIjD5Q4MhiCvIekVHCSyXd8O+WS5fc35nlICTSn5yp5xwnTOgRFRfnMPqGZzan+ i7OqnIlU2Xqnb76jqotioLSYMzOjXg//gTedIJJzSIL+K0K6e86RHPHBEuZBQxdjA03Q U/8YVwGBgwDYW9Ochhgj7JCsGMjtqLnUgO5APu8b/F/wuAVUKDYeMf8zLRjUMBH2bBTy NbGr2jqB5BPH4wjqjlMwFz8fPfshF3CO4+eysLs036c3hFSw6+cdLbQE71JLuEzrVePI C/hA== X-Gm-Message-State: ACrzQf3hJWJ/Ow4tr9bPkW0iiF478svdz4a1GZKU4yeVGNeoMk/6UlPZ vwNl/ptB8yEEA+sGfcvmSNbs3hKA0tT1IB1S15298Jo+l9Y= X-Google-Smtp-Source: AMsMyM4SN/TMqR2FhrCv2YzWqGcjebaog2OBs2qODkrLySB2N0ghsvQBrC9QYCXIgx2XdIY74ccSluslPqdavnIkS2M= X-Received: by 2002:a17:907:a06:b0:77b:6eca:c089 with SMTP id bb6-20020a1709070a0600b0077b6ecac089mr10849350ejc.362.1664681063242; Sat, 01 Oct 2022 20:24:23 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?RGF2aWQgTHVrZcWh?= Date: Sun, 2 Oct 2022 05:24:12 +0200 Message-ID: Subject: Code block syntax highlighting in async export To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=dafydd.lukes@gmail.com; helo=mail-ej1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664681096; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z+aHGkaHLJxmR+x4fBcepzrCkfBIC4AL4ekwFghhMCk=; b=sjbs9EfaAYZd5r/5jY4pA8XMi1LfWRpnUYVMKsqtZG/PYo7k25FW+QVAjnqVNrf7u0kphS ven+vS9/2h7Sp0lTIH171TVJfEWyEwRLfVEdENHaghigkL4gwEbO7y9HqKQCZ3C2T28evH Tbd6GL1CYKOCh3GGGFveDpMyfJI5UPm34GFlhfZnOa1wR3iO2lG5hya6qbAJFp6AF5xBIQ BKFTJ+8UxIsaBP0TDq7kxmw3tcAleKnMUUfvJDK6kpx/VMGnuyaFucjmdiaoeTDYhPmNpH c8CJdJQXz5cZuwkHsIWTknoFEPwJ0Q3hm6hshchHDc7pDqcpS6jhYchbWDm2nA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664681096; a=rsa-sha256; cv=none; b=R4ZwIdF8r/66s5WGEvptSybl4DIzIqqbGe/GkMECDGklQNCrkHHJahHPmQ4RP80Jl14Hyp mG5MtjvZbRniADhEHUX36DqCgyrwikgx3RY0qVOSIi0nGcj3RQme/pFCZWZp3qYwB7JLVm nB+y5A59L+gBWh3qcEV3qyp96ePBwEvFK1J129VX4oIbvlSdwVK9hUopjuoDAC1WawDKJI mR88Jf6uoE2qa11f+b9CzBmbPaRHTo+sQK3aX6hAhzYhj2nYwCjVDZkZFFBx9G3+zDmBtL DME8nDpHe9+0SbqFLLsAdjSqT4YNNz3p2F0FIyjPP8Ont4S/F0tAXAMORDPClg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qBUATrSZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qBUATrSZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 643E83C89B X-Spam-Score: -7.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: wh/DEeFQ8YVf Hi all, I get different syntax highlighting in code blocks when using async export: no colors, just bold, italics and underlines. Is this expected, and if so, is there maybe an easy fix I just don=E2=80=99t know about? I found a similar problem in [batch export], but the workaround seems relatively complicated and brittle. Alternatively, if this is an inherent limitation of async/batch export, I=E2=80=99m thinking maybe [using an external colorizer like pygments] migh= t be the simpler option. Thanks for any tips! Best, David [batch export] [using an external colorizer like pygments]