Text formatting example
Some examples of text formatting for some common text elements.
Headers
Header1
Header2
Header3
Header4
Emphasis
Italics: *asterisks* -> asterisks or _underscores_ -> underscores.
Bold: **asterisks** -> asterisks or __underscores__ -> underscores.
You also can combine them: **asterisks and _underscores_** -> asterisks and underscores.
Blockquotes and notes
>BlockquotesBlockquotes
Using very cool feature of kramdown which allows to assign any attribute to a block-level element I’ve added note and warning:
>Note
{: .note}Note
>Warning
{: .note .warning}Warning
Keyboard buttons
In case you need to show some keyboard shortcuts, like Ctrl+A use following construction:
`Ctrl`{: .key}+`A`{:.key}Example of keyboard shortcuts in a terminal:
Ctrl + A = move cursor to beginning of line
Ctrl + E = move cursor to end of line
Ctrl + C = kills the current process.
Ctrl + Z = sends the current process to the background.
Ctrl + D = logs you out.
Ctrl + R = finds the last command matching the entered letters.