From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 wPa/EDAQO2PrVgAAbAwnHQ (envelope-from ) for ; Mon, 03 Oct 2022 18:39:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0Na2EDAQO2PF8gAAauVa8A (envelope-from ) for ; Mon, 03 Oct 2022 18:39:12 +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 ECE4120C37 for ; Mon, 3 Oct 2022 18:39:11 +0200 (CEST) Received: from localhost ([::1]:60484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofO9c-0001TO-DS for larch@yhetil.org; Mon, 03 Oct 2022 12:18:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofNoo-0005z4-Jl for emacs-orgmode@gnu.org; Mon, 03 Oct 2022 11:57:22 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:34464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofNom-0005Eq-Tm for emacs-orgmode@gnu.org; Mon, 03 Oct 2022 11:57:22 -0400 Received: by mail-lf1-x12e.google.com with SMTP id j16so17251276lfg.1 for ; Mon, 03 Oct 2022 08:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date; bh=YLgJGFux6e410W/hYxxlqd3AowqDRukoBOF+2C4G9Fc=; b=lY/9cPM+UvApFPQyaQMf0TFX/u9PwU7yD/E9DvBYPKyV+NyKr/5Eo9A7gDmEk0E58d wlk/mfLj8TzKvnTC6/gI6kfXYR5k2AsUcYW9K3T3d6NRS9t6NqTaZeIj2YAwh3/MXzj/ SKZsWDwPxzpaTYTNzMPEL1T6S4tsQFgLT1Jl3shqmO7K4l+wmgrNtmt6VWCxn9ugVHHR HlaCjf8+IGg0Y0NnefI8+fehroXGee7sLvOCm4irVCt/Vt3U2nvFyKhgqdHH5tRbG01C g4QkAsj8vrWqVbiClULVVGZXFQU8ihIZ+ALJE7YpLTBVWzhXpKhWlRRnuN4VH6yOHJdu AVHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date; bh=YLgJGFux6e410W/hYxxlqd3AowqDRukoBOF+2C4G9Fc=; b=EKAYlj7f/T7fGi6yzt7YaJ4nZsppUYRDd4SQ++LFspusehWHjsJWPEAcG9r40khmuN 8avkMwtvqNaThWpRwJ3135hLJbnOuu3Oz4fLsO33Z4IBfY/6ZFiMd0Y/QW4KCI932f5E zD5bgw8wB+kOBFao7QMgzI5VnvjQlmPwqZ5xrkxneWCs4QO/pYwR9Ek9GFRIxu65Qgyr yKua2/ZKMsht3FdHjHDiGqRflH3TXcmhT+lO+vEZ7BrUaiS/9SWsm+sHmZXY1BGHQ/zj Vq8JNbFNMBA1V+6HCju9Jv91TTa/8iUdUJS3E5244Ku1Ck4SvWaf29Mv/CKxTwcjQ3Dp grTA== X-Gm-Message-State: ACrzQf3Fcl2Rj19vK8i66ZLw8mR0sUiHrwHEtl2aDEY8xhFMlXSeTvZq cdShCZbdAkRKSLIuvPfMn6k= X-Google-Smtp-Source: AMsMyM4gBtWOxubWkAnYTXOpoWbmbVvFzD+fE2nIk8bApuWMilypXonn17XW1QsUzb3KjuotMAH99g== X-Received: by 2002:a05:6512:3996:b0:4a2:1c8c:c9a1 with SMTP id j22-20020a056512399600b004a21c8cc9a1mr4674272lfu.230.1664812638514; Mon, 03 Oct 2022 08:57:18 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id b18-20020a056512305200b0048b0696d0b1sm1516818lfb.90.2022.10.03.08.57.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Oct 2022 08:57:17 -0700 (PDT) Message-ID: Date: Mon, 3 Oct 2022 22:57:16 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Code block syntax highlighting in async export Content-Language: en-US To: =?UTF-8?Q?David_Luke=c5=a1?= Cc: emacs-orgmode@gnu.org References: <878rly1ydl.fsf@localhost> From: Max Nikulin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, NICE_REPLY_A=-1.467, 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=1664815152; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YLgJGFux6e410W/hYxxlqd3AowqDRukoBOF+2C4G9Fc=; b=XGJ7sw9QcNATHVkRAGjjvPguN6SdVrPCnXgKRdQtGHaquv6aZ6N4PeYegdtaV+is6gCA/F vJkiGs45FsbpyYE3tiOZAE34zV69RjIWtb+rmJbYIXrJ3/i0FPodzsa4God1s3+ggaXFsz Zm4PhohvB22a8ypmmcSsoUe7TaUez2JCedkfJz7DEOvY0CZC3vH64N2k3d5SHDaAkpxkMF lZX8DVd6uX3pCSmeueNANti1b5LtlPRtbjY6bk+KCNBQcWVPJC2OS8DAty7lECz7ZNLX8s e/08bc8KA4ktd0ImXWDxvrHA7NJCnVr5u8tu46en+747ACX2cfFOYE82qc/Svg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664815152; a=rsa-sha256; cv=none; b=gW6iLbGvNEGrOEfIy0MLIDRWgkVH3h11ZfFhMcly09cPPzZ/xu9OiEZnCSYheEtC6Tswwr W4aeK8B1W53XPCkOXlRleeWuGxPZ8gAGrZkVucw75zLAE3tiKWKonjSp8VC7lVbRf8LiRg FfLsQ4D+XHsLWj073OFWLi0d8GSY+MdViTt5P4ei+8dbi2dSkNQidLszJtRIXqDS53zXuu gp67tCxO/4X4/xNVhG3bEIm3IFMCizZK5FUan5yFXZbVBcKLiy5qIQWcEOvdUzXxNhfap0 ivn7qOM4eNfDCfytcpOaj9N+DprL4FLqWbW7HtqIvrvYTvVvshNUmtWhv9ccxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="lY/9cPM+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 6.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="lY/9cPM+"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: ECE4120C37 X-Spam-Score: 6.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: LdrXi0ghXl8b On 03/10/2022 19:08, David Lukeš wrote: >> Could you please provide an example? > >> A problem that has some similar symptoms: >> M. Pger. Re: no syntax highlighting for code blocks with org-publish. >> Mon, 18 Jul 2022 22:55:15 +0000. >> https://list.orgmode.org/inTtQOKWAhnFydjBE9fQOOdo_oV6kIPG5_E0d8DsfFiYMIJ4RNLRk68Id6dyrzy1qIDK8YJu0Wty7objv22vR31PNrh-qB9vKxMgHPxNAu8=@protonmail.com > > This looks indeed very similar, thank you! I'll investigate if I can > leverage any of the workarounds mentioned. I have realized that https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-elisp.html has colorized source blocks. The file is created using https://git.sr.ht/~bzg/worg/blob/master/publish.sh and the script is executed inside a container with no available DISPLAY.