Skip to content

math highlighting #1

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

math highlighting #1

wants to merge 1 commit into from

Conversation

aaren
Copy link

@aaren aaren commented Dec 5, 2012

Math highlighting

Math in multimarkdown is written in TeX and delimited using
\\( ..math.. \\) and \\[ ..math.. \\] for inline and display
math respectively.

Previously, the highlighting in vim-multimarkdown got confused with
math environments, especially when they included * or _.

This patch fixes this and highlights math environments as TeX.

I've also allowed demarcation of math using $$ ..math.. $$ and
$ ..math.. $ for display and inline. These can be commented out
to switch off.

Stackoverflow question

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

Successfully merging this pull request may close these issues.

1 participant