On 02/10/2022 14:24, Ihor Radchenko wrote:
David Lukeš writes:
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’t know about?
Could you please provide an example?
See https://orgmode.org/manual/Feedback.html
I found a similar problem in [batch export], but the workaround seems
relatively complicated and brittle.
That is likely a different problem. In batch mode, Emacs disabled
font-lock-mode unconditionally, which makes fontification in some major
modes broken.
Certainly more details is necessary, even export format (backend) is not
specified.
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