Markdown Syntax (Cheatsheet)¶
This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements.
Headings¶
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
Text Sytles¶
Normal¶
The quick brown fox jumps over the lazy dog.
Bold¶
**The quick brown fox jumps over the lazy dog.**
__The quick brown fox jumps over the lazy dog.__
<strong>The quick brown fox jumps over the lazy dog.</strong>
Italic¶
*The quick brown fox jumps over the lazy dog.*
_The quick brown fox jumps over the lazy dog._
<em>The quick brown fox jumps over the lazy dog.</em>
Bold and Italic¶
**_The quick brown fox jumps over the lazy dog._**
<strong><em>The quick brown fox jumps over the lazy dog.</em></strong>
Blockquotes¶
> The quick brown fox jumps over the lazy dog.
<br>
> The quick brown fox jumps over the lazy dog.
>
> The quick brown fox jumps over the lazy dog.
>
> The quick brown fox jumps over the lazy dog.
<br>
> The quick brown fox jumps over the lazy dog.
>> The quick brown fox jumps over the lazy dog.
>>> The quick brown fox jumps over the lazy dog.
<br>
> **The quick brown fox** *jumps over the lazy dog.*
Monospaced¶
<samp>The quick brown fox jumps over the lazy dog.</samp>
Underlined¶
<ins>The quick brown fox jumps over the lazy dog.</ins>
Strike-through¶
~~The quick brown fox jumps over the lazy dog.~~
Boxed¶
<table><tr><td>The quick brown fox jumps over the lazy dog.</td></tr></table>
Subscript¶
log<sub>2</sub>(x)
Subscript <sub>The quick brown fox jumps over the lazy dog.</sub>
Superscript¶
2 <sup>53-1</sup> and -2 <sup>53-1</sup>
Superscript <sup>The quick brown fox jumps over the lazy dog.</sup>
Multiline¶
The quick\
brown fox\
jumps over\
the lazy dog.
Syntax Highlighting¶
Inline code¶
Code block¶
public static String monthNames[] = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"};
## git diff a/test.txt b/test.txt
diff --git a/a/test.txt b/b/test.txt
index 309ee57..c995021 100644
--- a/a/test.txt
+++ b/b/test.txt
@@ -1,8 +1,6 @@
-The quick brown fox jumps over the lazy dog
+The quick brown fox jumps over the lazy cat
Alignments¶
Left¶
<h4 align="left"> My latest Medium posts </h4>
My latest Medium posts
Center¶
<h4 align="center"> My latest Medium posts </h4>
My latest Medium posts
Right¶
<h4 align="right"> My latest Medium posts </h4>
My latest Medium posts
Tables¶
| Name | Comment |
|:-------|:------------------------------------------------------------------------|
| Alice | Always involved in various communications |
| Bob | A good guy, who likes to communicate with Alice |
| Malroy | Not so nice guy. Tries to mess with the communication of Alice and Bob. |
Name | Comment |
---|---|
Alice | Always involved in various communications |
Bob | A good guy, who likes to communicate with Alice |
Malroy | Not so nice guy. Tries to mess with the communication of Alice and Bob. |
Links¶
Inline¶
[The-Ultimate-Markdown-Cheat-Sheet](https://github.com/lifeparticle/Markdown-Cheatsheet)
Reference¶
[The-Ultimate-Markdown-Cheat-Sheet][reference text]
[The-Ultimate-Markdown-Cheat-Sheet][1]
[Markdown-Cheat-Sheet]
[reference text]: https://github.com/lifeparticle/Markdown-Cheatsheet
[1]: https://github.com/lifeparticle/Markdown-Cheatsheet
[Markdown-Cheat-Sheet]: https://github.com/lifeparticle/Markdown-Cheatsheet
Images¶
Badges¶
Lists¶
Buttons¶
Collapsible Items¶
Horizontal Rule¶
Diagrams¶
Mathematical Expressions¶
Alerts¶
Mention People and Teams¶
Color Models¶
View Code¶
Code in Titles¶
Reference Labels¶
Miscellaneous¶
https://learn.microsoft.com/en-us/azure/devops/project/wiki/markdown-guidance
MDX¶
Tools¶
External References¶
https://daringfireball.net/projects/markdown
https://www.markdownguide.org/
https://docs.codeberg.org/markdown/
https://codepen.io/brandonhimpfen/pen/eYZRyOj