Bug 484850 - Feature request: Options for markdown insertion characters
Summary: Feature request: Options for markdown insertion characters
Status: CONFIRMED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Other
: NOR wishlist
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-01 06:06 UTC by Ben
Modified: 2024-04-07 05:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.)