heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
3.87k stars 194 forks source link

Feature request: shortcuts to make text bold / italic etc in markdown #116

Open AntonFagerberg opened 8 months ago

AntonFagerberg commented 8 months ago

When working in a Markdown block, it would be nice if it was possible to make text bold / italic by highlighting text and pressing CMD + B for bold, CMD + I for italic, (and CTRL+B or whatever it is on Windows / Linux) etc.

feh-pined0 commented 8 months ago

@heyman hello! I don't know if this is a desired feature, or if this falls into your vision for the project, but i tried to implement a basic feature that covers this functionality, while being extensible for other languages as well. Could you look into this when possible? Thx in advance!

Obs.: I dont have a way to test this in a Mac system, so if desired, i will have to look further into the cm documentation to check how to implement these bindings on there as well.