Markdown
- Post by: Abhishek Kumar
- September 13, 2021
- No Comment
Markdown is a lightweight and popular Markup language for writing a web page, blogs, documents by using a plain-text editor. It’s a simple way to format without any burden of changing font size, color, etc. Its files can easily be shared between different devices and people. I’ve used Jupyter Notebook for my work.
Writing
- Bold
To write in bold, we add two asterisks ‘**‘ before and after a word or sentence.
This is our very first introduction to Markdown.This is our very first introduction to **Markdown**.
- Italic
To make a particular word or sentence italic, we add underscores ‘_‘ before and after a word or sentence.Markdown is a lightweight and popular _Markup_ language.
Markdown is a lightweight and popular Markup language.
Combining Bold and Italic
Generally used for writing standards by data scientists and analysts.Generally used for writing standard by **_data scientists_ and _analysts_**.
Headers
- It is used to attract towards a certain section.
- We’ve six types of header in markdown.
- To make a word or sentence header, we use ‘#‘ before starting.
For example
# Heading level 1
## Heading level 2
### Heading level 3
#### Heading level 4
##### Heading level 5
###### Heading level 6
Heading level 1
Heading level 2
Heading level 3
Heading level 4
Heading level 5
Heading level 6
Lists
- It is of two types- Ordered list and Unordered list.
- Ordered list
To create an ordered list, add line items with numbers followed by periods and it should always start with ‘1.‘
1. list 11. list 1
2. list 2
2. list 2
What happens if we write the ordered list in this way:
1. list 11. list 1
3. list 2
8. list 3
5. list 4
2. list 2
3. list 3
4. list 4 - Unordered list
Simply add one asterisk ‘*‘ before and after a word or sentence.* list 1
* list 1
* list 2
* list 2
Link
- To create a link, we enclose the link text in square brackets and then follow it immediately with the URL in parentheses.
- There are two ways to link:
- Inline link
Link to Computational Lab.1. list 1
3. list 2
8. list 3
5. list 4 - Reference link
Link to [**Resources**][Resources]
Link to [**MArkdown**][Tutorial]
[Resources]: <https://computationalmechanics.in/resources>
[Tutorial]: <https://www.markdowntutorial.com>
Image
- It is just like the link, the only difference is that images are prefixed with an exclamation mark ‘!’.
- There are two ways for linking images:
- Inline image link
![Victory](hooray.jpg
- Reference image link
![great][job]
![good][done]
[job]: good.jpg
[done]: em.jpg
Blockquote
- A blockquote is a sentence that is created to draw your attention.
- To create a blockquote you have to add a greater than ‘>’ sign before writing the sentence.
> “Everything you can imagine is real.”
~ Pablo Picas
“Everything you can imagine is real.”
~ Pablo Picasso
Paragraphs
“You've gotta dance like there's nobody watching,
Love like you'll never be hurt,
Sing like there's nobody listening,
And live like it's heaven on earth.”
~ William W. Purkey
“You’ve gotta dance like there’s nobody watching,
Love like you’ll never be hurt,
Sing like there’s nobody listening,
And live like it’s heaven on earth.”
~ William W. Purkey
Equations
- Inline equation
Quadratic equation: $(a+b)^2 = a^2 + 2*a*b + b^2$
Quadratic equation: $(a+b)^2 = a^2 + 2*a*b + b^2$
- Block equation
$$E = mc^2 $$
$$ E = mc^2 $$
Table
- The table contains the information in rows and columns.
- To construct a table we used vertical pipe ‘|’ to separate each column and hyphen symbol ‘-‘ to create a header.
|Name|Address|
|-----|-------|
|Abhishek|Bihar|
|Philip|Kerala|
|Meenu|Kerala|
Name | Address |
---|---|
Abhishek | Bihar |
Philip | Kerala |
Meenu | Kerala |
Categories: Research Tools