Atom writing skills

1. Paragraph and heading outline

  • Heading outline (similar to HTML H1, H2, …)

    It's very simple, use the first-level title # 标题, the second-level title ## 标题, the third-level title ### 标题, and so on.

  • Paragraph (HTML-like <p>) tags

    2 consecutive carriage returns represent a paragraph. It's that simple

2. Unordered and ordered lists

  • *Unordered list starts with each list item
  • Each list item in an ordered list starts with 1.2.,  …
  • tabIndicates a level of indentation, which enables nesting of lists.

3. Emphasis and italics

  • *我是斜体*This is to indicate an italic:  I am italic
  • **我是粗体**This means a bold: I am bold

4. Representing references and inline code

  • >at the beginning, indicating the referenced file
  • Wrapping the characters with two '`' is to realize an inline code. HTML- <code></code>like effect.
  • You can use ``` code ``` when there are multiple lines of code

5. Escape

\Indicates escape.

6. Horizontal line

---Represents a horizontal line, which is a <hr />label in HTML

7. Representing a link

[链接的内容](http://www.foo.com/bar)

8. Representing pictures

![微博的Logo](http://img.t.sinajs.cn/.../WB_logo.png)

Shown here is the Weibo logo:

9. Representation form

|表头1|表头2|...|表头N|
|--|--|...|--|
|内容1|内容2|...|内容N|
  • 1
  • 2
  • 3
Header 1 Header 2 Header N
Content 1 Content 2 ContentN

10. Code highlighting

Finally, when it comes to code highlighting, this is simpler, look good, that's it

"` language [java/python/php/bash/html/javascript/…]

your code 

“` 

11. Quickly generate HTML and view it in real time

Ctrl + shift + M

It's that simple.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326394955&siteId=291194637