Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Em Dash Replace

jefrryjefrry81 downloads

Replaces double dashes with em dashes in real time.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

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
81%
HealthExcellent
ReviewSatisfactory
About
Replace consecutive double dashes (--) with an em dash (—) automatically as you type. Preserve code formatting by skipping replacements inside code blocks and inline code, and run on desktop and mobile.
EditingFormattingAutomation
Details
Current version
1.0.2
Last updated
4 months ago
Created
4 months ago
Updates
3 releases
Downloads
81
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
Apache-2.0
Report bugRequest featureReport plugin
Author
jefrryjefrry
github.com/Jefrry
GitHubjefrry
  1. Community
  2. Plugins
  3. Editing
  4. Em Dash Replace

Related plugins

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Easy Typing

Auto format when typing.

List Callouts

Create simple callouts in lists.

MetaEdit

Manage your metadata.

Advanced Tables

Improved table navigation, formatting, and manipulation.

QuickAdd

Quickly add new notes or content to your vault.

Templater

Create and use dynamic templates.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

BRAT

Easily install a beta version of a plugin for testing.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.