Skip to content

Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses

License

Notifications You must be signed in to change notification settings

mgmeyers/obsidian-smart-typography

Repository files navigation

Obsidian Smart Typography

This plugin (currently) converts:

  • "" to “” - curly double quotes (customizable)
  • '' to ‘’ - curly single quotes (customizable)
  • ... to - ellipsis
  • -> to (customizable)
  • <- to (customizable)
  • << to «
  • >> to »
  • Two dashes (--) to – - en-dash
  • En-dash + dash (–-) to — - em-dash
  • Em-dash + dash (—-) to --- - three dashes
  • Fractions:
    • 1/2 to ½
    • ,
    • ¼, ¾
    • , , ,
    • ,
    • , , ,
  • Comparisons:
    • <= to
    • >= to
    • /= to

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: https://github.com/mgmeyers/obsidian-smart-typography/issues

Text Screenshot

Support

If you find this plugin useful, consider supporting its development:

GitHub Sponsors