Smart Typography Plugin (curly quotes, em dashes, ellipses)

Greetings, everyone! I’ve just released a simple, but handy plugin that (currently) converts:

  • "" to “” - curly double quotes
  • '' to ‘’ - curly single quotes
  • -- to — - em dash
  • ... to - ellipsis

as you type. Any automatic changes can be undone by pressing backspace.

I hope to expand this to support the conventions of other languages. You can help me out with this by submitting an issue here, telling me what these conventions are: Issues · mgmeyers/obsidian-smart-typography · GitHub



10 Likes

Thank you!!!

I was just wishing for this exact thing on Sunday night!

Excellent. I particularly like the quotes part, even if some themes render the curly quotes as horrible apostrophe-type (back)ticks.

1 Like

Is that the theme? Or maybe the font?

@austin : it’s a plug-in, will work with any theme.

I got that. I was saying that the style of quotation marks is different with each typeface. The themes don’t render curly quotes as horrible apostrophe-type (back)ticks. The font does. The theme just displays the font.

So, where I’m going is, if you like your font but not the curly quotes, the odds are high that you can find a similar font with the type of curly quote you like.

@austin : sorry for the misunderstanding and my ignorance. You are absolutely right that it is in fact a font issue, NOT a theme issue.

It so happens that when I was looking into this yesterday I found out that by simply changing the font of the theme I am using the curly quotes were rendered where they had not before.

BTW, I did not realize your 1st reply was to me. Might be an idea to always add @person in your reply. Just a thought.

@mgmeyers Thank you so much. Exactly what I needed.