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

Undocumented math keywords break fontification of math content #767

Open
saf-dmitry opened this issue May 21, 2023 · 0 comments
Open

Undocumented math keywords break fontification of math content #767

saf-dmitry opened this issue May 21, 2023 · 0 comments

Comments

@saf-dmitry
Copy link
Contributor

Undocumented math keywords like (eq:foo) and \eqref{foo} defined in the markdown-mode-font-lock-keywords-math variable don't get properly fontified and break the fontification of math content.

Expected Behavior

Math keywords are fontified properly and don't break the fontification of math content in the buffer.

Actual Behavior

Math keywords don't get properly fontified and break the fontification of math content.

Steps to Reproduce

  1. Enable math support in Markdown buffer
  2. Write something like (eq:foo) $a$
  3. See fontification of math broken

Backtrace

markdown-mode math support enabled
Error during redisplay: (jit-lock-function 1) signaled (void-variable markdown-markup-face)

Software Versions

  • Markdown Mode: From Git on 2023-05-21
  • Emacs: 28.2.1
  • OS: macOS 10.15
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

1 participant