Markdown Cheat Sheet
Hi everyone, because I'm writing this blog with Markdown, specifically with mxd, I created this Markdown Cheat Sheet for my own use, but you are more than welcome to use it if you find it usefully.
Headings
# H1
## H2
### H3
#### H4
##### H5
###### H6
Emphasis
// Italics
*italic text* and _italic text_
// Bold
**bold text** and __bold text__
// Bold and Italic combined
**bold text and _italic and bold text_**
// Scratch
~~Scratch text~~
Lists
Unordered
* Can be asterisks
+ Or Pluses 1a
+ Item 1b
* Can be asterisks
- Or minuses 2a
- Item 2b
Ordered
1. Item 1
+ Unordered child 1a
+ Item 1b
2. Item 2
1. Ordered child 2a
2. Item 2b
// Kindly check the extra tab on children
Links
[Inline link](http://jonnyacevedo.com)
[Inline with title](http://jonnyacevedo.com "My link title")
[reference link][myLinkReference]
if empty, it will use the text of the link reference [my text to be shown]
Inline urls http://jonnnyacevedo.com and <http://jonnnyacevedo.com>
will be converted to links
[myLinkReference]: http://jonnnyacevedo.com
[my text to be shown]: http://jonnnyacevedo.com
Images
![alt text](./my_cool_image.png)
![alt text](./my_cool_image.png "My Image title")
![reference image][logo]
[logo]: ./logo.svg
Block quotes
> Do more
> No rain, no flowers
Backslash Escapes
// *literals hello*
\*literals hello\*
// It supports:
\ backslash
` backtick
* asterisk
_ underscore
{} curly braces
[] square brackets
() parentheses
# hash mark
+ plus sign
- minus sign (hyphen)
. dot
! exclamation mark
Code Blocks
Inline`code here`
//Block Code: the one INSIDE the comment /* */
/*
```javascript
const immutableVariable = I don't change;
const myArrowFunction = ()=> {
console.log("Hi");
}
```
*/
if not language is indicated
then not highlight will happen
<span>okay</span>
Task Lists
- [x] Completed Item
- [ ] Incompleted Item
Horizontal Rule
// Three or more:
--- // Hyphens
___ // Underscores
Tables
| My Table | Another Column |
| -------- | --------------- |
| *Italic* | **Bold** |