joostkremers / pandoc-mode

An Emacs minor mode for interacting with Pandoc.
https://joostkremers.github.io/pandoc-mode/
178 stars 14 forks source link

Add strike-through font-lock; fix citation e-mail bug #34

Closed gbgar closed 9 years ago

gbgar commented 9 years ago

I have added strike-through to pandoc-mode's font-lock highlighting. The tilde delimiters and the struck text can be font-locked separately.

While doing this, I noticed that citation font-locking 1) highlighted e-mail addresses and 2) interrupted other markdown font-locking (in my case, a fenced-code region containing an e-mail address). This should be fixed.

pandoc-mode_strike-through

Have a nice day!

gbgar commented 9 years ago

While the strike-though commits should still be valid, it looks like the e-mail address fix fucked up the citation formatting. It might be time to graduate to a function for citation highlighting. I'll hit it back up when I have the time. Sorry for the rushed PR.