kevboh / longform

A plugin for Obsidian that helps you write and edit novels, screenplays, and other long projects.
Other
664 stars 31 forks source link

Feature request: Replace punctuation marks #115

Open QuickFastly opened 1 year ago

QuickFastly commented 1 year ago

Convert paired straight quotes ("" & '') to curly quotes (“” & ‘’), double dashes (--) to em dashes (), and three periods (...) to ellipses (). Having this functionality in the editor within longform projects would be nice, but I honestly don't know which would be more feasible, implementing it as an editor function or as a compile step.

Obsidian is not a word processor, and I don't want it to behave like one, but these changes would go a long way in saving editing time. I am aware of this plugin that makes these replacements (and a lot more) as you type, but I find using this plugin very disruptive since I prefer only to use these characters in my longform projects, and having to either enable and disable the plugin frequently or hit backspace every time I want a straight quote or apostrophe is more than a little cumbersome. Even more cumbersome is trying to type these things normally, because I have no way to easily do that on my keyboard.

kevboh commented 1 year ago

Doing this as an editor function feels like it should be a new feature in your linked plugin where you can scope replacements to specific files/folders. I'm more inclined to a compile step—especially because I tend to type these characters directly into my manuscripts via hotkeys, and a compile step could potentially catch ones I mistyped.