Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgmeyers/obsidian-smart-typography
Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses
https://github.com/mgmeyers/obsidian-smart-typography
obsidian obsidian-md obsidian-plugin
Last synced: 9 days ago
JSON representation
Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses
- Host: GitHub
- URL: https://github.com/mgmeyers/obsidian-smart-typography
- Owner: mgmeyers
- License: gpl-3.0
- Created: 2021-06-06T18:46:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T05:45:07.000Z (7 months ago)
- Last Synced: 2024-10-23T00:02:22.624Z (17 days ago)
- Topics: obsidian, obsidian-md, obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 91.8 KB
- Stars: 248
- Watchers: 3
- Forks: 11
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
- project-awesome - mgmeyers/obsidian-smart-typography - Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses (TypeScript)
README
## 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
## Support
If you find this plugin useful, consider supporting its development:
[![GitHub Sponsors](https://img.shields.io/github/sponsors/mgmeyers?label=Sponsor&logo=GitHub%20Sponsors&style=for-the-badge)](https://github.com/sponsors/mgmeyers)