Em Dash Replace
pendingby Egor Ilin
Replaces double dashes with em dashes in real time.
Em Dash Replace
A simple Obsidian plugin that automatically replaces double dashes ( --) with em dashes (—) as you type.
Features
- Automatically converts
--to—when typing - Respects code blocks and inline code (won't replace dashes inside code)
- Works on desktop and mobile
Manual Installation
- Download
main.js,manifest.json, andstyles.css(if present) from the latest release - Copy them to
<Vault>/.obsidian/plugins/em-dash-replace/ - Reload Obsidian and enable the plugin in Settings → Community plugins
Usage
Simply type -- (space followed by two dashes) and it will automatically be replaced with an em dash (—).
The plugin will not replace dashes inside code blocks or inline code to preserve your code formatting.
Development
npm install
npm run dev
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.