For my both blogs I am using markdown for writing the blog posts, so I thought it’s better to keep a personal markdown cheat sheet for myself. So I don’t want to Google it every time whenever I need to check some syntax. So here it is.
What is Markdown?
Its a lightweight markup language that you can use to add formatting elements to plaintext text documents, which is created by John Gruber in collaboration with Aaron Swartz.
Basic Syntax
Heading
# h1
## h2
### h3
#### h4
##### h5 ###### h6Bold
**bold text**
Italic
*Italic*
Blockquote without attribution
> Blockquote
Blockquote with attribution
> Blockquote
>
> — <cite>Unknown </cite>Ordered List
- First item
- Second item
- Third item
Ordered List
- First item
- Second item
- Third itemInline Code
`Code`
Block Code
``` Code ```
Link
[title](https://www.codbix.com)
Image
![alt text](wizbitales.jpg)
Horizontal Rule
---
Strikethrough
~~This is a Strikethrough line.~~
Foot notes
In a paragraph you can use the square bracket with a caret symbol along with a number to indicate a foot note: [^1].
[^1]: In the below section you can add this for showing the footnotes.
Backslash Escapes
Markdown will allow to use backlash escapes to generate litertal characters which is used in the markdown itself fot formatting the syntax.
String: \* Literal astrisks\*
Output: * Literal astrisks*
What are your thoughts on this post?
I’d love to hear from you! Click this link to email me—I reply to every message!
Also use the share button below if you liked this post. It makes me smile, when I see it.