what is markdown :
Markdown is a superset of html and used very often in github as making profile and readme of the reposatories.Markdown is used to make readme in spite of html because markdown is far more easier and also svae much time.
how to make a markdown file:
save a markdown file as .md
markdown | html | output |
---|---|---|
### head1 |
<h3>head</h3> |
|
all headings input: |
###### head6
##### head5
#### head4
### head3
## head2
# head1
output
markdown | html | output |
---|---|---|
**bold** |
<b>bold</b> |
bold |
it can also be written as
__bold__
markdown | html | output |
---|---|---|
*italic* |
<i>itlaic</i> |
italic |
it can also be written as
_italic_
markdown | html | output |
---|---|---|
**italic+bold** |
<i><b>itlali+bold</b><i> |
italic+bold |
input: in markdown
*this is itlaic para*
_this is itlaic para_
**this is bold**
__this is bold__
***this is itlaic and bold***
___this is itlaic and bold___
in html
<i>this is itlaic para</i>
<b>this is bold para<b>
<i><b>this is itlaic and bold para</b></i>
output:
markdown: |
---|
this is itlaic para |
this is itlaic para |
this is bold |
this is bold |
this is itlaic and bold |
this is itlaic and bold |
html: |
---|
this is itlaic para |
this is bold para |
this is itlaic and bold para |
input:
>this is a markdown blockquote
note:html blockquote do not have any default design
output
this is a markdown blockquote note:html blockquote do not have any default design
in markdown
1. javascript
56. json
28845. nodejs
in html
<ol>
<li>javascript</li>
<li>json</li>
<li>nodejs</li>
</ol>
output:
- javascript
- json
- nodejs
in markdown
- js
- html
- electron
in html
<ul>
<li>js</li>
<li>html</li>
<li>electron</li>
</ul>
output:
- js
- html
- electron
input:
javscript:
`console.log('hello world')`
python:
`print('hello world')`
output:
console.log('hello world')
print('hello world')
markdown | html |
---|---|
--- | <hr> |
input: |
---
output:
note: don't put it below any world as it will works as heading
![img](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR7_gHGIwsuuJXHTWqKMRMwAqJLuFqTxbNDw8Su84vhglOFKUHT1WAEH98G2uRaYn8EXuM&usqp=CAU)
[github](https://github.com/AcquireDevs/AcquireDevs.git)
output:
github |
---|
|languages|tools|
|---|---|
|javascript|nodejs|
|html|markdown|
|css|scss|
output:
languages | tools |
---|---|
javascript | nodejs |
html | markdown |
css | scss |
input:
``
const express=require('express')
const app=express
``
use ``` instead of ``
output:
const express=require('express')
const app=express
for hightlighing of text you can write programming language you are writing after first ```
example:
``javascript
const express=require('express')
const app=express
``
output:
const express=require('express')
const app=express
input:
socket.io [^1]
[^1]: socket.io is used to make a connection between server
and clients with other clients
output: socket.io 1
note: it will not work in github
input
title
: content
it will not work in github
output:
- title
- content
input
~~this is removed~~
output: |
---|
input
- [x] js
- [ ] css
- [x] html
output:
- js
- css
- html
Footnotes
-
socket.io is used to make a connection between server
and clients with other clients ↩