When editing a Markdown README file or blog post, it would be handy to be able to use some familiar/standard WYSIWYG or word-processor-like keyboard shortcuts for text formatting:
- Ctrl+B for bold (
**strong**)
- Ctrl+I for italic (
_emphasis_)
- Ctrl+K for link (
[text](url))
For a great implementation, pressing the key should insert the characters and put the cursor where the user would most likely type next (i.e. between the ** or _, or in the [] of a link), while hitting the shortcut with selected text should wrap the text with the formatting characters. This is how GitHub—which users of Code are likely to be familiar with—handles it in their Markdown inputs.
This might be best implemented in an optional plugin.
When editing a Markdown README file or blog post, it would be handy to be able to use some familiar/standard WYSIWYG or word-processor-like keyboard shortcuts for text formatting:
**strong**)_emphasis_)[text](url))For a great implementation, pressing the key should insert the characters and put the cursor where the user would most likely type next (i.e. between the
**or_, or in the[]of a link), while hitting the shortcut with selected text should wrap the text with the formatting characters. This is how GitHub—which users of Code are likely to be familiar with—handles it in their Markdown inputs.This might be best implemented in an optional plugin.