Skip to content

this is not only markdown cheatsheet but also my challenge to make a website only of markdown

Notifications You must be signed in to change notification settings

AcquireDevs/markdown-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

md


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


Cheatsheet of Markdown


1. headings in markdown

markdown html output
### head1 <h3>head</h3>

head

all headings input:
###### head6
##### head5
#### head4
### head3
## head2
# head1

output


head6
head5

head4

head3

head2

head1


2. bold and italic in markdown

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

Blockquote

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


LISTS

orderd list

in markdown

1. javascript
56. json
28845. nodejs
in html

<ol>
<li>javascript</li>
<li>json</li>
<li>nodejs</li>
</ol>

output:

  1. javascript
  2. json
  3. nodejs

unorderd list:

in markdown

- js
- html
- electron
in html

<ul>
<li>js</li>
<li>html</li>
<li>electron</li>
</ul>

output:

  • js
  • html
  • electron

Code

input:

javscript:
`console.log('hello world')`
python:
`print('hello world')`

output:

console.log('hello world')

print('hello world')


line

markdown html
--- <hr>
input:
--- 

output:


note: don't put it below any world as it will works as heading


Image

![img](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR7_gHGIwsuuJXHTWqKMRMwAqJLuFqTxbNDw8Su84vhglOFKUHT1WAEH98G2uRaYn8EXuM&usqp=CAU)

output: img

Link

[github](https://github.com/AcquireDevs/AcquireDevs.git)

output:

github

Table

|languages|tools|
|---|---|
|javascript|nodejs|
|html|markdown|
|css|scss|

output:

languages tools
javascript nodejs
html markdown
css scss

fenced code block

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

footnote in markdown

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


Defination list

input

title
: content

it will not work in github

output:

title
content

strikeline

input

~~this is removed~~
output:
this is removed

task list

input

- [x] js
- [ ] css
- [x] html

output:

  • js
  • css
  • html

Footnotes

  1. socket.io is used to make a connection between server
    and clients with other clients

About

this is not only markdown cheatsheet but also my challenge to make a website only of markdown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published