Write article with markdown

  • When you start to write article with markdown, we can recognize to writing regularly and reading easily.

Firstly

How to write header in markdown?

While you’re writing header, you should write in ‘#’(pound sign)

1
2
3
4
5
6
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6

Bold are header more and more smaller, from above example, the boldest header is Header 1 and the lightest header is Header 2

How to write lists in markdown?

If you want to write list, How?

ordered or unordered

Firstly Ordered :

We use number when we want to write ordered.

Secondly unordered :

We use ‘–’ and ‘*’ the symbol provide to write unordered.

1
2
3
  - apple
  - banana
  - strawberries

How to write code in markdown?

When you write code block in markdown, you use ‘“`’ symbol. How to write this symbol on keyboard? Don’t worry! when we press on ‘ alt + , ’ we create this symbol.

like this :

1
...

Also we specify the how write this code ? or with what write ?

We say to terminal, konsol or ide you saying like :

1
...

Now we say to terminal write ruby code block, and write according to ruby language.

How to write to link in markdown ?

When we use link about anything and if you want to be regularly you should use markdown and use like this :

[github](http://github.com)
[leylakapi](http://leylakapi.github.io)

When the click github, redirected to on ‘http://github.com’ this link.

I tried to explain markdown, when we write code, link, header or list. I think these are the most commonly use .

Comments