|
From: | John Kitchin |
Subject: | Re: Differentiate source blocks in export? |
Date: | Tue, 24 Nov 2020 11:00:53 -0500 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |