Markdown:
Markdown is a lightweight markup language for creating formatted text using a plain-text editor . It is easy to write and easy to read for everyone. This is intended as a quick reference and showcase.
Why do we use it:
-It is easy to learn and fast to use. -it is future-proof and used everywhere.
Syntax:
Extension of Markdown File:
The extension of the Markdown file is .md
Links :
Create simple links by wrapping square brackets around the link text and round brackets around the URL:
[ Link Title](link address)
Images :
To place an image, start with an exclamation mark followed by an alternate text in a square bracket and image hosted URL or address in parenthesis
![alt text](image.jpg)
Code Snippets:
To show code blocks, enclose the code snippets with three backticks( ``` code
).
The rendered output looks like this:
if (isServer && user) {
store.userStore.currentUser = user;
}
Table:
A table can be created using hyphens (---) and pipes (|). Hyphens (---):To create header of the column (use atleast three hyphens). Pipes (|):To separate the columns.
| FirstName | LastName | City |
| ------------- | -------------- | -------- |
| FirstName1 | LastName1 | City1 |
| FirstName2 | LastName2 | City2 |
Output:
FirstName | LastName | City |
FirstName1 | LastName1 | City1 |
FirstName2 | LastName2 | City2 |
Thankyou for reading the blog if you found it helpful do give it a thumbs up and please add your valuable inputs as well:-)
Rohini Karuturi