Emacs Asked on December 1, 2020
I am using in Org-mode to document inherited Java code.
Here is shown an enum:
However, when I export to HTML, the document is rendered like this:
Which incorrectly shows a *hideshowvis*
text.
I suspect something might be working wrong between hideshow minor mode and Org-mode.
Anyone has deal with this issue?
Regards.
Just stumbled upon this. It depends where/how you enable the hideshowvis-minor-mode
. In my case I had something like
(use-package hideshowvis
;; https://www.emacswiki.org/emacs/hideshowvis.el
:load-path "elisp/"
:hook (prog-mode . hideshowvis-minor-mode))
So, to export correctly I just "disable" the prog-mode-hook
and export like this
(let ((prog-mode-hook nil))
(org-html-export-to-html))
You can easily define a function to call
(defun my-export-to-html ()
(interactive)
(let ((prog-mode-hook nil))
(org-html-export-to-html)))
Answered by actondev on December 1, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP