mgmeyers / obsidian-smart-typography

Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses
GNU General Public License v3.0
238 stars 10 forks source link

Problem with HTML comments #55

Closed memee closed 1 month ago

memee commented 2 months ago

When I type 4 times "-", I get "---" as expected. If I type ">" after that, I get a string "--→". It should be "--->". I think it should respect HTML comments like "<!--- comment --->"

sevmonster commented 1 month ago

HTML comments are <!--, the third dash will be simply part of the comment.

You can either hit backspace to undo the conversion, or use %%Obsidian comments%%, which are much easier to type and serve the same purpose.