Bug 484850

Summary: Feature request: Options for markdown insertion characters
Product: [Applications] ghostwriter Reporter: Ben <benjf5+kde>
Component: generalAssignee: megan.conkle
Status: CONFIRMED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ben 2024-04-01 06:06:36 UTC
The current implementation in `InlineMarkupTogglePrivate::InlineMarkupTogglePrivate()` only supports the asterisk for formatting marks inserted using Ctrl+I and Ctrl+B. For my personal style, I prefer using a single underscore for italics and a double asterisk for bold; that way the different formatting styles are visually distinct. This is a feature in Zettlr, which was useful when I tried it. I don't know if a link is going to work here, but I can provide one if needed.

I think it'd be really cool if there were an option to set these both independently; something in the preferences dialog that lets you pick:
Emphasis (italics) markup character: `(•) *  ( ) _`
Strong (bold) markup sequence: `(•) **  ( ) __`

And then the markup toggle can pull from that setting to determine the correct character to use.

SOFTWARE/OS VERSIONS
Windows: 2.1.6
Qt Version: 5.15.2

(I include the version here, but I'm reading the current development sources and seeing no change.)