This is an essential handful of text-formatting keyboard shortcuts for Markdown, working thanks to AutoHotkey ^(the ultimate automation scripting language for Windows)^ .
It covers:
- CTRL+B - bold the font,
- CTRL+I - italicize,
- CTRL+1 - bold & italicize,
- CTRL+U - underline (through a CSS hack - see the explanation below),
- CTRL+SHIFT+= - insert ^a superscript^,
- CTRL+K - insert a reference-style hyperlink into a selected text;
Since Markdown doesn't support text underlining, I've decided to use the following CSS hack described by its author here - You need to add this CSS code to Your CSS spreadsheet:
strong>em,
em>strong,
b>i,
i>b
{
font-style:normal;
font-weight:normal;
text-decoration:underline;
}
The appealing thing here is that the Markdown-style **_underlined text_**
looks better and more intuitive than classic HTML-powered <u>underlined text</u>
. Unfortunately things get complicated if You'd like the text to be bold or italicized in the same time :( . Maybe I'll write some jQuery workaround for this.
In case You would be interested to learn about My personal impressions on Markdown, and especially how it influenced My workflow - I encourage You to read this article, within which I also describe other things which significantly improved My work as a feature-writer or a programmer.
In case You'd have any questions or thoughts on how it could be improved, You are welcome to reach Me at [email protected] .
- ver. 0.1 - June 11, 2019;