Skip to content
Markdown is a mark language and is useful in writing blogs or documents. This repository show markdown grammar to learn and use it quickly.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resource
README.md

README.md

Markdown-Learning

Markdown is a mark language and is useful in writing blogs or documents. This repository show markdown ide and grammar to learn and use it quickly.

Getting started

Markdown IDE

Build the best developing environment of markdown in just two steps!

  1. Install atom
  2. Install plugins

Install atom

download install package from https://atom.io/

suggest to download from https://github.com/atom/atom/tags so that you can decide the setup location

then install happily

Install plugins

press ctrl+, to open the settings tab

search and install following packages
language-markdown
markdown-writer
markdown-preview-enhanced

Well, enjoy writing markdown code with a preview window!

Markdown Grammar

index

title
blockquote
font style
code
list
split line
link
image
tag
table

title

# title1
## title2
### title3
#### title4
##### title5
###### title6

title1

title2

title3

title4

title5
title6

blockquote

> blockquote1
>> blockquote2
>>> blockquote3

blockquote1

blockquote2

blockquote3

code

use ```

```[c|java|html|python...]
    <!-- code -->
```

such as java code

public static void main(String[] args) {
    System.out.println("java code");
}

use indent

you can use tab of four whitespace before every line of code

    int main() {
        println("c code")
    }

result

int main() {
    println("c code")
}

font style

*italic font* 
**bold font**
~~delete font~~

italic font
bold font
delete font

list

unordered list

- first
- second
- third
  • first
  • second
  • third

ordered list

1. first
2. second
3. third
  1. first
  2. second
  3. third

split line

---

link

anchor

[back to top ↑](#markdown-grammar)

back to top ↑

! link target must be lowercase and contains no whitespace

external

[personal blog](http://www.liyupi.top)

personal blog

image

relative path

![panda](resource/panda.jpg)

panda

absolute path

![alt](https://github.com/CodeSongster/Markdown-Grammar/blob/master/resource/panda.jpg)

alt

tag

`ctrl+a` `ctrl+d`

ctrl+a ctrl+d

table

align

left |:---| right |---:| center |:--:|

| name  | age | sex | salary |
|-------|:---:|-----|-------:|
| wang  | 30  | m   | $1,000 |
| ming  | 20  | f   | $2,000 |
| candy | 10  | f   | $0     |
name age sex salary
wang 30 m $1,000
ming 20 f $2,000
candy 10 f $0

Export Markdown

Well, you can export your markdown file (like .md) to other file format (like .docx, .pdf, .html) easily by using an atom plugin called pandoc-convert.

pandoc-convert

Use hotkey ctrl+shift+p and search "pandoc convert" to generate a target file.

back to top ↑

You can’t perform that action at this time.