evilstreak / markdown-js

A Markdown parser for javascript
7.69k stars 863 forks source link

Allow dollar($) and caret(^) for inline patterns #154

Closed kasperpeulen closed 10 years ago

kasperpeulen commented 10 years ago

This makes sure that it is possible to use all ascii symbols for inline patterns including the dollar ($) and caret (^) symbol. Especially dollar is usefull, as (La)TeX uses dollar ($) for math sections. With this change, someone could easily extend markdown so that recognizes LaTeX math sections (for mathax support).

ashb commented 10 years ago

My kind of pull request - nice and simple.