web-components icon indicating copy to clipboard operation
web-components copied to clipboard

Magic Shortcuts for Markdown

Open jeromesimeon opened this issue 4 years ago • 5 comments

Feature Request 🛍️

I like not having to move my cursor when I write text and one way to do that is to use markdown things in your text and have the editor automatically convert them as you write. Am I the only one who likes that kind of editing?

Demoed here on the editor from Slab: https://slab.com EditingShortcuts

Use Case

As a user who understands markdown, I like to be able to type markdown in the editor and have it converted for me to WYSIWYG.

Possible Solution

Look at sequences of characters during editing and detect markdown things in 'em.

Notes

The example above was written without moving the cursor to go to the toolbar, or having to select parts of the text, but only by typing.

jeromesimeon avatar Mar 25 '21 22:03 jeromesimeon

@jeromesimeon I would like to implement this one.

Cronus1007 avatar Mar 26 '21 03:03 Cronus1007

This seems to be lots of small features. Should this be all in one go or should we go one by one?

d-e-v-esh avatar Mar 26 '21 05:03 d-e-v-esh

@d-e-v-esh I agree, this will be incremental. I think we should go one by one and use this Issue to track the changes.

jolanglinais avatar Mar 26 '21 13:03 jolanglinais

@jeromesimeon @irmerk I created a PR #288 a while ago that does exactly the same thing. Maybe we can build on top of that to implement these features after that is merged.

d-e-v-esh avatar Mar 27 '21 12:03 d-e-v-esh

To reiterate from my comment in #288, that's a good start to build on for this Issue.

jolanglinais avatar Apr 02 '21 14:04 jolanglinais