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

Spanish Dialogue Dash

Elisa De GregorioElisa De Gregorio3 downloads

Turns hyphens into Spanish dialogue dashes (raya) and fixes spacing and punctuation around narrator incisos.

Add to Obsidian
Spanish Dialogue Dash screenshot
Spanish Dialogue Dash screenshot
  • Overview
  • Scorecard
  • Updates2

Obsidian plugin for Spanish dialogue dashes (raya, —), following correctores.es: guiones largos.

—Me parece que me estás engañando —susurró Víctor—, pero no importa.
—¡Qué buen día hace! —exclamó sonriente Jorge.

A note before and after running "Fix dialogue dashes": hyphens become rayas with correct spacing and punctuation

While typing

  • -Hola at line start → —Hola (- with a space stays a Markdown list)
  • -- anywhere → —
  • Inside a dialogue line: -dijo → —dijo, Víctor-, → Víctor—,

Command: Fix dialogue dashes in note (or selection)

On every line that starts with -, --, – or —:

  • Opening raya attached to the first word: — Hola → —Hola
  • Inciso spacing: engañando—dijo Víctor -, pero → engañando —dijo Víctor—, pero
  • Period before a speech verb removed: engañando. —dijo → engañando —dijo
  • Comma moved after the closing raya: Bueno, —dijo— vamos → Bueno —dijo—, vamos
  • No closing raya at paragraph end: —dijo—. → —dijo.

Hyphenated words (ex-novio), numbers (3-4, -5), links, code, frontmatter and code blocks are left alone.

Command Insert raya (—) inserts the dash; give it a hotkey in Settings → Hotkeys.

Settings

Settings: convert while typing, fix punctuation around incisos, treat "- " as dialogue

Develop

npm install
npm run build
npm test
npm run lint          # Obsidian's official lint rules (same as the plugin review)
npm run screenshots   # regenerate docs/images (macOS, needs Obsidian and Chrome)

Install manually

Copy main.js and manifest.json to <vault>/.obsidian/plugins/spanish-dialogue-dash/, then enable Spanish Dialogue Dash in Settings → Community plugins.

Support

If this plugin helps you write, you can buy me a coffee:

License

MIT © Elisa De Gregorio

HealthExcellent
ReviewPassed
About
Fix Spanish dialogue dashes by converting leading -, --, – or — into proper em-dashes and correcting spacing and punctuation: attach opening raya, fix inciso spacing, drop periods before speech verbs, move commas after closing raya, and remove stray closing rayas at paragraph ends. Preserve hyphenated words, numeric ranges, links, frontmatter and code blocks, and provide commands to fix a note/selection or insert a raya.
FormattingLanguagesEditing
Details
Current version
1.0.1
Last updated
8 hours ago
Created
10 hours ago
Updates
2 releases
Downloads
3
Compatible with
Obsidian 1.0.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
Elisa De GregorioElisa De Gregoriocoffeedevdriven
www.coffeearmy.com/
GitHubcoffeearmy
  1. Community
  2. Plugins
  3. Formatting
  4. Spanish Dialogue Dash

Related plugins

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Sort and Permute lines

Sort and Permute lines in whole file or selection.

PanGu

Add spaces between Chinese characters and English alphabet. A boon for typographically compulsive people.

LanguageTool

Unofficial integration of the LanguageTool spell and grammar checker.

List Callouts

Create simple callouts in lists.

Symbols Prettifier

Prettify the symbols with actual symbols you commonly type, like arrows.

Trim Whitespace

Trim unnecessary whitespace.

Admonition

Admonition block-styled content.

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.