Elisa De Gregorio3 downloadsTurns hyphens into Spanish dialogue dashes (raya) and fixes spacing and punctuation around narrator incisos.
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.

-Hola at line start → —Hola (- with a space stays a Markdown list)-- anywhere → — -dijo → —dijo, Víctor-, → Víctor—,On every line that starts with -, --, – or —:
— Hola → —Holaengañando—dijo Víctor -, pero → engañando —dijo Víctor—, peroengañando. —dijo → engañando —dijoBueno, —dijo— vamos → Bueno —dijo—, vamos—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.

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)
Copy main.js and manifest.json to <vault>/.obsidian/plugins/spanish-dialogue-dash/,
then enable Spanish Dialogue Dash in Settings → Community plugins.
If this plugin helps you write, you can buy me a coffee:
MIT © Elisa De Gregorio