MarkDown cheatsheet - my combination of the popular ones commonly seen + some ChatGPT responses
# This is an <h1> tag
## This is an <h2> tag
### This is an <h3> tag
#### This is an <h4> tag
##### This is an <h5> tag
###### This is an <h6> tag
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
_You **can** combine them_
~~Strikethrough~~
Horizontal Rule:
___
This text will be italic This will also be italic
This text will be bold This will also be bold
You can combine them
Strikethrough
Horizontal Rule: ___
- Item 1
- Item 2
- Item 2a
...with no line break this continues onto the next line keeping same indent as 2a
- Item 2b
-
^ ending with a bare empty bullet item (on level 2)
+ Item 1
+ Item 2
+ Item 2a
...with no line break this continues onto the next line keeping same indent as 2a
+ Item 2b
+
^ ending with a bare empty bullet item (on level 2)
* Item 1
* Item 2
* Item 2a
...with no line break this continues onto the next line keeping same indent as 2a
* Item 2b
*
^ ending with a bare empty bullet item (on level 2)
^ ending with a bare empty bullet item (on level 2)
- [x] Item 1 with filled in checkbox
- [ ] Item 2 empty unchecked
- [ ] Item 3
- [X] Item 3a with UpperCase 'X' for filled in checkbox
- [x]
this still continues onto the next line keeping same indent as its parent -- which is just the text `[x]` instead of converting into a checkbox (on level 2)
BUT[x]--with whitespace ON ITS RIGHT SIDE-- in the middle of a line:[x] < will convert to a new checkbox **while omitting all that came before it**
[x]
instead of converting into a checkbox (on level 2)
BUT[x]–with whitespace ON ITS RIGHT SIDE– in the middle of a line:[x] < will convert to a new checkbox while omitting all that came before it 1. Item 1
4. Item 2
2. Item 3
5. Item 5 under #3 (3 spaces needed, not just 2?)
7. Item 6 under #3
http://github.com - automatic!
[GitHub](http://github.com)
[GitHub](http://github.com "title text too!")
http://github.com - automatic! GitHub GitHub
Format: 



Format:
As Kanye West said:
> We're living the future so
> the present is our past.
> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.
As Kanye West said:
We’re living the future so the present is our past. Blockquotes can also be nested…
…by using additional greater-than signs right next to each other…
…or with spaces between arrows.
Inline `code` has `back-ticks around` it.
Inline code
has back-ticks around
it.
\```js
/* multi-line code
comment.
*/
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
\```
/* multi-line code
comment.
*/
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
| Formatting | Syntax | Example |
| ----------- | --------- | ------- |
| Italic | `* *` or `_ _` | *italic* |
| Bold | `** **` or `__ __` | **bold** |
Right aligned columns
| Option | Description (right-aligned) |
| ------:| -----------:|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
| Formatting | Syntax | Example |
| ———– | ——— | ——- |
| Italic | * *
or _ _
| italic |
| Bold | ** **
or __ __
| bold |
Right aligned columns
Option | Description (right-aligned) |
---|---|
data | path to data files to supply the data that will be passed into templates. |
engine | engine to be used for processing templates. Handlebars is the default. |
ext | extension to be used for dest files. |
-END OF LINE.