memcode icon indicating copy to clipboard operation
memcode copied to clipboard

support for markdown code in the editor

Open kgashok opened this issue 4 years ago • 3 comments

Will you be supporting Markdown?

kgashok avatar Feb 28 '20 04:02 kgashok

Hi! I'm afraid UI would get too confusing if we are to add Markdown formatting. Right now you can use keyboard shortcuts for almost all formatting options (bold, code, code block, quote, etc), does that not suffice?

lakesare avatar Feb 28 '20 05:02 lakesare

How about ![img](http://url_to_some_image.jpg)? This will allow for changes to images to be reflected here on memcode.

And how about headings? If not that, provision for variation in font size.

kgashok avatar Feb 28 '20 05:02 kgashok

This will allow for changes to images to be reflected here on memcode.

🤔Usually that's the opposite of the desired behaviour. I went an extra mile to make sure images stay as they are once we upload them. I don't think that's a widespread enough use case for me to implement it, but you are welcome to create a PR that will be turning ![img](http://url_to_some_image.jpg) into actual images once typed!

And how about headings? If not that, provision for variation in font size.

Adding a button (or at least a shortcut) for different font-sizes may be a good idea. I will look into whether the button is too bulky for UI.

lakesare avatar Feb 28 '20 06:02 lakesare