From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +O/JG6n5vF+1PAAA0tVLHw (envelope-from ) for ; Tue, 24 Nov 2020 12:16:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YPLCF6n5vF+PZQAA1q6Kng (envelope-from ) for ; Tue, 24 Nov 2020 12:16:41 +0000 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 E379194051F for ; Tue, 24 Nov 2020 12:16:39 +0000 (UTC) Received: from localhost ([::1]:54348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khXFN-0006tr-Iw for larch@yhetil.org; Tue, 24 Nov 2020 07:16:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khXDY-000659-1J for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 07:14:44 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:55259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khXDO-0008Ne-OG for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 07:14:41 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A8717FCA for ; Tue, 24 Nov 2020 07:14:31 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 24 Nov 2020 07:14:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=cE137nGHoR3EH7eQTcCl2ZIzQ/t4YKQjRatslVpDDiM=; b=WBrSuMUW HQpQ47FSqV5llpbDiog4HM02oxmg7arAkwmkWZ+rdlN4e2Uc0EHvw4YyJC3mhRkK R4RJUZ4GBAKrOUG0/S14tL08nASCWV4XYhsNs3rxHIgS+vSD4C2IpIFXxwSERkgA 2KkUBhcQY4fPhMEYkGVRqWECgho1aoN9Dnhi6yswLMSiN8sTLH/dWQ/EF1GeHRkx Em6akI9IhUJcc3m4YwUPlCNZZRe0D5tirPa2zZF9vnfpUugaisXo3sjJl28nrixJ 3SNFaVDyUCqj/oIIb4TvQyc3g81U5Xf2D+hfWkyFM/C3xKxog4i7VbPQTf99Lk0w VsRS4X/rbidgCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=cE137nGHoR3EH7eQTcCl2ZIzQ/t4Y KQjRatslVpDDiM=; b=TN3UnXYyvHh9aWBtt6I9P/YorT6UmdmJCD6qr5aswidwp DaI16M9giqacOvzX8iZhPPdAL0nEXXryn2p56yvf9TzACh0y3pHaiH6z1ULQpzR+ i4iuHX+z8B2P2O6vczwxZtlq+uyubPOkJiT/Z3CmqEoNh4BihBM6Jm+gNlSWwwNC /pqSYqaboDMvrrmP/lrIMTh+X1GhCINSBDmCjp5v/czjRZPGtlHmi5STbZzWgJSV duOZNDW4pOBY4R4qj1mx6VvtnTOkA2s7TYwQletpr2xDoNWsTlRavrJMPpM3dsdu NJp3tXb7ia2p3Tm3O14B5Hw+thNIVj6TZUmKQQGSw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegkedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegfhffvufffkfggtgesthdtredttd ertdenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghr shesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepudeufedttefgleekhe eihfegtdelvdeutddvvedukedtieffiefhgfdvhfdtudefnecukfhppeelhedrledtrddv vdegrddvfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepjhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Received: from Lenovo.fastmail.com (unknown [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id B9E733064AB4 for ; Tue, 24 Nov 2020 07:14:30 -0500 (EST) User-agent: mu4e 1.5.7; emacs 27.1.50 From: Joost Kremers To: emacs-orgmode Subject: Differentiate source blocks in export? Date: Tue, 24 Nov 2020 13:14:28 +0100 Message-ID: <87a6v7gdej.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.21; envelope-from=joostkremers@fastmail.fm; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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.23 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.fm header.s=fm1 header.b=WBrSuMUW; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=TN3UnXYy; dmarc=pass (policy=none) header.from=fastmail.fm; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: p7UZGDB0lqy4 Hi all, I was wondering if there's a way to distinguish between different kind of source code blocks when exporting to HTML. Specifically, I would like a way to mark certain code blocks in my Org file so that those code blocks get a specific class in the HTML export. I can then style them with some CSS to make them stand out visually. I know I can use special blocks to get divs with a custom class, but I don't want to lose all the benefits of code blocks... I tried Google and the Org manual but I haven't been able to find anything on this. TIA -- Joost Kremers Life has its moments