By Brian L. Chen
- What is Markdown?
- How to Use Markdown?
- Headings
- Paragraphs
- Emphasis
- Lists
- Links
- Images
- Others
- A Real-Life Example! I am going to deploy this content to my hackmd π§πΎβπ».
- Where can You Use Markdown?
- Resources
Markdown is a lightweight and easy-to-use syntax for styling all forms of writing on many apps, platforms, and websites.
You only have to remember some basic syntax!
As you might be able to tell, "Headings" can be done by typing a #
in the front.
There are six levels of headings.
####### There is no Heading 7 since Heading 6 is already the same size as the text.
Don't put tabs or spaces in front of your paragraphs.
Keep lines left-aligned like this.
To create a line break, end a line with two or more spaces,
and then type return.
Adding a bold text.
Adding an italic text.
- aka. UL
- just place a
+
in front of each item - item 1
- item 2
- item 3 (nested)
- You don't have to care about the order you type
- π as you can see here, I type
1
instead of2
. - π but here the number has already been updated to
3
. - Of course you can type out the correct order:
- first item
- second item
- third item
- more items
To create a link, you wrap the link text in brackets []
, and then you wrap the link in parentheses ()
.
Link to Google. And link to my website
Add an extra exclamation mark !
in front of the link.
Combining the two of them, you get to see my website by clicking the gif
below:
Due to time limits, I will only cover the basics of markdown. This section is left for more advanced usage of markdown.
Use blockquotes to draw attention or quote others' words.
My favorite quote from Steve Jobs:
People who are crazy enough to think that they can change the world are the ones who actually do.
Tables | Are | Cool |
---|---|---|
col 1 is | col 2 is | col 3 is |
left-aligned | centered | right-aligned |
default | π΅ | π |
The most beautiful equation in math:
A matrix:
Footnotes are notes placed at the bottom of a page.1 Here's a long footnote.2
To indicate an inline code use tick. print("Hello, World!")
Or you can have a whole section of code block, too.
def hello():
print("Hello, World!")
hello()
Highlight? ==No problem!==
Strikethrough? No problem!
Agenda:
- What is Markdown?
- How to Use Markdown?
- Live Coding
- Real-life example!
- Takeaways
Let's me add some links to more resources and some more contents to make a complete cheatsheet for you!
A Real-Life Example! I am going to deploy this content to my hackmd π§πΎβπ».
- Taking notes
- Writing homework
- Addressing technical documentations
- Creating website contents
- Composing Emails
- Creating slides
- Guides
- Platforms
- Apps
1. Reference: What Are Footnotes?. β©
2. A long footnote with multiple paragraphs:
Indent paragraphs to include more.
Add more like this! β©