From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2KRfNwTSOmP+pgAAbAwnHQ (envelope-from ) for ; Mon, 03 Oct 2022 14:13:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eMqLNgTSOmNzqwAAG6o9tA (envelope-from ) for ; Mon, 03 Oct 2022 14:13:56 +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 71DAB3BB31 for ; Mon, 3 Oct 2022 14:13:56 +0200 (CEST) Received: from localhost ([::1]:38230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofKKY-0006bn-Np for larch@yhetil.org; Mon, 03 Oct 2022 08:13:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofKG1-0006ZA-Rw for emacs-orgmode@gnu.org; Mon, 03 Oct 2022 08:09:21 -0400 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:36569) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofKFz-0001Rb-N1 for emacs-orgmode@gnu.org; Mon, 03 Oct 2022 08:09:12 -0400 Received: by mail-ed1-x52b.google.com with SMTP id e18so14266311edj.3 for ; Mon, 03 Oct 2022 05:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=IB6FkTNtTD65AlcsxM4TMZzFmPM+4nt1VmaZ5op1UE0=; b=pdGoSoTLnyJmULhP9C3ZLt0jZsEHM55YFPPmx7bN+rUP5sYdLwpcwWSv/n+n3n3jWM weEBbBYuqLRnmDzIv8N8GwN544QctUwvObfO1L8SidQsbMKq0O0HWL3kjeE5OI4Ox4mM 1v+At5+6B3zRT9ciun6fPcz0pbAvtAHBG6wEriBTBRuxc+RPmMIoaVMTImdY5SIHuqBG O5qleHPgknFouHiy//dL2LJN9C4XJhypmykZfk2A2m2E/S/i0uzEn4dyQT/gkSGaz8CO +hDnW3hJN1tNxHNBZvW8vmNcjFRJx1Pm9svc/w1Mrp4vJa64krNhB+pFYiFQb+prS51W y1Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=IB6FkTNtTD65AlcsxM4TMZzFmPM+4nt1VmaZ5op1UE0=; b=OBWfb68FSmvOV0KO4KUTeUu6szQHdqjHXNQg6k9rDBf6srjVareo4hT5gxcCZDGY5H oFQO4SRX0XLLh4K/cunbtkFGmqVbOBljqyLItSJJB39BGLo3xySIOw/+egetrFBHO+N/ hPgwqm2tDNeufNd1dDo4xlQwG+DgNjGRBAuWbaPK3pVKN4N0Alv8F+lnpxPrDTk6W7NG OO7FnUUUN6GpL0lR5vg0C8wGMmK36Bj3tmTvNmTevaaelW4wLyWEi7/15GVKr5462N0q oha+GNfrsKq9Xds05AZMrzfrYtIRPNgzYJtKuBAxKbokAzuMI1Sh6coxoVrJV59+Kflz urNA== X-Gm-Message-State: ACrzQf2iyvUWWn+X9OFN4/Ud69t3NUsnuLPddBpggOSH9TGpZMYpXCcC +SF0PwHzq7pefHiJe4F9UBruBVC2EKs2x81seEIZ0yMaZ/8= X-Google-Smtp-Source: AMsMyM5R9dEVVqKk/VMzewI5wVTlaltrKm1De6k+97H+KYzE46dIhmFP00o93pG/EAxC+k1FXIDLD+87YEIm1vIPJqo= X-Received: by 2002:a05:6402:1d4f:b0:450:fd05:628c with SMTP id dz15-20020a0564021d4f00b00450fd05628cmr18635436edb.419.1664798948584; Mon, 03 Oct 2022 05:09:08 -0700 (PDT) MIME-Version: 1.0 References: <878rly1ydl.fsf@localhost> In-Reply-To: From: =?UTF-8?B?RGF2aWQgTHVrZcWh?= Date: Mon, 3 Oct 2022 14:08:57 +0200 Message-ID: Subject: Re: Code block syntax highlighting in async export To: Max Nikulin Cc: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=dafydd.lukes@gmail.com; helo=mail-ed1-x52b.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=1664799236; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IB6FkTNtTD65AlcsxM4TMZzFmPM+4nt1VmaZ5op1UE0=; b=TVdWe43udeU/fNM1mblo+y+iCkCGZ4Ylbd+ddXSylBYexDrppYyafiDcX1fOoFo0j/3+PV 94PeONMdi3vpIli2CeIl694edWXteclWAvhKx4XFum+OwJCIeOUqXPX+fQB+vDco2OEbjm t7BS3NxWJ9NmZRLnEjvFi+qdQgT9I5jxRLFRFDwVutmLuzBY9q/Z71Y2iMZTbmIf0gH0P3 D5O9qYMEnGkOGvTAwXqDeG/BFjz5V5vICkuG/AR7pDkHilZ3AbXEUMoBBHdAETS0FhKDp5 5OCD2KGmjrhdTKPVOVf+1vNmxH1uhp++dzluDEaNMj/asCzzLyWkn3n/pokBew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664799236; a=rsa-sha256; cv=none; b=Sh1Xx4nfvI9LFlCyMY+Btj8QI70IXqzoOkQaY/FEm3uto1RYroOqHGr8W/NdQRPoIMPOO1 p0mEKlkFAwNSGtLiw4uhbdInWFn3Gvl4Kkgx4CbVY5vo9tOD3avSGPmDAejvmzo3uygpFZ 3zkeA46NeITtvUbJ2KpNdVuWALXUpe6c9zIk8kV2UD4HmdvNgMXZtrhSNWbYpcke0Qhp5y T+iGDPArLx0vNAp+Vo9ZnvfBrqMHc3iWEr9k5oF3nO0TzLTDV8V147YaDEbPeKYO+YfhUI fbe0q8zDNr6cdGSzv5P5RRy1qngTgJFTcNrw/eRo0JJyxMSSzmsO3+4pz42HNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pdGoSoTL; 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: -3.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pdGoSoTL; 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: 71DAB3BB31 X-Spam-Score: -3.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: pzyukhIsHF+t > Could you please provide an example? > Certainly more details is necessary, even export format (backend) is not > specified. Sorry for that! I somehow thought that the issue would sound familiar to more seasoned Org users, and someone would come back with either "yeah, you need to do X" or "yeah, that's a known limitation". The export backend is HTML. In case anyone wants to try reproducing this, I made a minimal working example here: https://github.com/dlukes/org-html-a-sync-export-syntax-highlighting > 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. Best, David