Em Dash Replace

pending

by Egor Ilin

Replaces double dashes with em dashes in real time.

Updated 2mo agoApache-2.0Discovered via Obsidian Unofficial Plugins
View on GitHub

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

  1. Download main.js, manifest.json, and styles.css (if present) from the latest release
  2. Copy them to <Vault>/.obsidian/plugins/em-dash-replace/
  3. 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.