
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
>Blockquotes
Blockquotes
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:
</span>Ctrl<span class="sb">{: .key}+</span>A<span class="sb">{:.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.




近期评论