emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "M. Pger" <mpger@protonmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: no syntax highlighting for code blocks with org-publish
Date: Sun, 17 Jul 2022 17:24:45 +0000	[thread overview]
Message-ID: <nZRuDCnXh89i0CtdP_9sFNz7tK-Kyep7LghJ-fayvCLlMHDpMxlIXS7pzFJ6Oyb2EFZoiE3VWen9Ns503WkjkA-fYE3cZVT63RLj1IYgx3Y=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

Dear All,

While syntax highlighting for code blocks is correctly implemented when I export a Org document with M-x org-html-export-to-html​, it does not work when the same document is exported as part of an org-publish project defined using org-publish-project-alist​.

Org-version: 9.5.4 (also tried with 9.5.2)
Htmlize-version: 1.57

Note that including :htmlized-source t​ does not solve the problem.

Any idea of what's happening?

Best,

MP

[-- Attachment #2: Type: text/html, Size: 1635 bytes --]

             reply	other threads:[~2022-07-17 17:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-17 17:24 M. Pger [this message]
2022-07-17 23:42 ` no syntax highlighting for code blocks with org-publish Ihor Radchenko
2022-07-18  8:57   ` M. Pger
2022-07-18 21:50     ` Tim Cross
2022-07-18 22:55       ` M. Pger
2022-07-19  7:51         ` Tim Cross
2022-07-19 15:34           ` M. Pger
2022-07-19 22:33             ` Tim Cross
2022-07-19 23:14               ` M. Pger
2022-07-20  5:22                 ` M. Pger
2022-07-21 11:38                   ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='nZRuDCnXh89i0CtdP_9sFNz7tK-Kyep7LghJ-fayvCLlMHDpMxlIXS7pzFJ6Oyb2EFZoiE3VWen9Ns503WkjkA-fYE3cZVT63RLj1IYgx3Y=@protonmail.com' \
    --to=mpger@protonmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).