You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed when exporting org-mode buffers to html that some characters got rendered in an undesired way:
Variables and Numbers in Python blocks: This issue on StackOverflow has a good screenshot showing the problem and also found the culprits: the variables py-number-face and py-variable-name-face from python-mode.el, which get an own <span> container when htmlized, and from me trying to tinker around I found that the background colour for this container is taken from the current Emacs theme's background colour of the respective characters.
These highlights - I think they come from highlight-indentation.el@antonj (see here). I have not tracked down the variable which is picked up here yet, but I examined it with some browser developer tools and it looks exactly like the issue above - these characters get a <span> container and the background colour of the Emacs theme. I made a screenshot:
As described in the SO issue regarding the python-mode.el variables, there is a workaround in setting them to nil like this:
I noticed when exporting org-mode buffers to html that some characters got rendered in an undesired way:
py-number-face
andpy-variable-name-face
frompython-mode.el
, which get an own<span>
container when htmlized, and from me trying to tinker around I found that the background colour for this container is taken from the current Emacs theme's background colour of the respective characters.highlight-indentation.el
@antonj (see here). I have not tracked down the variable which is picked up here yet, but I examined it with some browser developer tools and it looks exactly like the issue above - these characters get a<span>
container and the background colour of the Emacs theme. I made a screenshot:As described in the SO issue regarding the
python-mode.el
variables, there is a workaround in setting them tonil
like this:But I think this is a quite dirty fix. Also, I could not yet fix the highlight-indentation problem (deactivating the minor mode didn't help).
Version information:
The text was updated successfully, but these errors were encountered: