Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hiding emphasis markers is over eager #12

Open
rpglover64 opened this issue Apr 20, 2016 · 4 comments
Open

Hiding emphasis markers is over eager #12

rpglover64 opened this issue Apr 20, 2016 · 4 comments

Comments

@rpglover64
Copy link

To replicate, create a "slide" with the following:

#+BEGIN_SRC haskell
whenM :: (Monad m) => m Bool -> m () -> m ()
whenM mb mx = mb >>= \b -> when b mx
#+END_SRC

The slide will show

whenM :: (Monad m) > m Bool -> m () -> m ()
whenM mb mx = mb >> \b -> when b mx

Consider using the org-hide-emphasis-markers variable instead.

@facundoolano
Copy link

facundoolano commented Mar 19, 2018

Found a similar problem with table borders: the plus in --+-- is being removed. Using org-hide-emphasis-markers seems like a good option.

@Kazark
Copy link
Contributor

Kazark commented Jan 17, 2020

I ran into this sort of problem as well.

@Kazark
Copy link
Contributor

Kazark commented Jan 24, 2020

Unfortunately org-emph-re is also matching the bullets at the beginning of the lines and interfering badly with that.

@AkibAzmain
Copy link

This is bugging me as well. Doing the following works for me:

(setq-local org-hide-emphasis-markers t)
(font-lock-fontify-buffer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants