I am using in Org-mode to document inherited Java code.
Here is shown an enum:

enter image description here

However, when I export to HTML, the document is rendered like this: enter image description here

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?


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))

You can easily define a function to call

(defun my-export-to-html ()
  (let ((prog-mode-hook nil))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.