How to write βοΈ your notes π, blog r even your github repositories with the markdown markup lang.
Letβs learn d following:
β’ headings
β’ text styling
β’ links
β’ syntax
β’ paragraphs
β’ lists
β’ tables
Follow d thread 𧡠2 read them π
#DEVCommunity #100DaysOfCode #markdown
1οΈβ£ Headings
For headings just insert the # before heading. And the numbers of # defines the heading number.
2οΈβ£ Text styling
To make bold use **text**
To make italic use * text * or _text_
For both use **_text_**
3οΈβ£ Links
β’ Links are created with large brackets[] & small ()
[link name](href)
β’ for images use ! Before large brackets
![dog](link)
β’ also can show the reference by giving a more large brackets
![dog][dog-ref](link)
[dog]: link
4οΈβ£ Syntax
Also can write 1 line code or a block of code π¨βπ»
β’ wrap the code with back ticks ` return βhelloβ`
β’ Or wrap with 3 ``` to write block.
β’ With opening 3 back ticks mention the language & code will have that style.
like
```javascript
```
5οΈβ£ Paragraphs
Write paragraphs consecutively and if you leave line in between then new paragraph will start.
β’ for new line put the 3 spaces after the line.
6οΈβ£ Lists
Lists are unordered and ordered and they can be nested together.
β’ for Unordered just put the * and space before.
β’ for ordered put the 1. and space before.
7οΈβ£ Blockquotes >
For blockquotes just put the > greater than sign before text. You can also add for the blank lines to extend the quote.
8οΈβ£ Tables
Tables are also easy to write just follow the pattern.
| column name | column name |
| ββββββ- | βββββββ |
| text | text |
To align the data in table just put the colon : to the dashes -
β’ left :ββββββ-
β’ center :ββββ-:
β’ right βββββ-:
9οΈβ£ Tasks
for tasks use the following pattern
-[x] task1
-[ ] task2
β’ x means task is done β
β’ blank means remaining task.
for practice use the online editors like
stackedit.io
dillinger.io
or you can download Typora typora.io for your desktop.
@threadreaderapp unroll
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.