yogthos / markdown-clj

Markdown parser in Clojure
Eclipse Public License 1.0
540 stars 120 forks source link

Escaping ^ characters #160

Closed rutchkiwi closed 4 years ago

rutchkiwi commented 4 years ago

Hi!

Is there a way to escape ^ characters?

It works fine if they have a space in front of them, but If I've got some text looking like: ingredient1^ingredient2 (where I don't want ingredient2 to be superscript) it will make it superscript anyways.

Thank you!

yogthos commented 4 years ago

Unfortunately that looks like an omissions in the parser at the moment. I'll take a look at adding an escape for ^, but might not get a chance in the near future.

rutchkiwi commented 4 years ago

Ok thank you! It's not a huge problem for me, but I'll have a look at making a PR for it in the coming weeks.

yogthos commented 4 years ago

Thanks, that would be very welcome. :)