Open tecosaur opened 3 years ago
Thanks for the report. Here are some steps to debug the issue:
M-x htmlize-buffer RET
?emacs -q
?M-: (htmlize-buffer-substring-no-invisible 1 2) RET
in the buffer where htmlize doesn't work?Sorry for the delay, I'll try doing emacs -Q
shortly.
htmlize-file
on a non-org file produces the same result (see below)(htmlize-buffer-substring-no-invisible 1 2)
gives "["
I am getting an output of non-formatted code after htmlize-file, while htmlize-buffer delivers the desired output with different text colours.
If I run
htmlize-{buffer,file}
on any of my files, the result has no syntax highlighting.Additionally, if I turn on
debug-on-error
I find the followingHere's an example output: colophon.zip
I use Emacs27.1 with Doom, which uses the latest version of Htmlize, and does not appear to modify the settings/behaviour.