Painted levels: being fostered fostered fostered

Tags: “Generic skills” Markdown author: MrLiuQ Review: QiShare team


Preface: This article will focus on Markdown’s “syntax specification” and “Getting started Guide”.


I. Introduction to Markdown

Markdown is a text markup language that is easy to use, easy to learn, and clear and intuitive in typography. Often used for “technical documentation,” “technical blogs,” “development documentation,” and so on. All in all, if you are a developer and you have the desire and desire to blog, Markdown is the best choice for you.


Second, Markdown grammar

Next, let’s look at Markdown’s “standard grammar.”

Let’s take a look at the outline, which includes:

1, title,
  • Standard syntax: use1 ~ 6a"#"Character + “space” + “your title”.
# 1 title # # 2 headlines # # # # # # # 3 4 headlines # # # # # # # 5 # # # # six levels of headingsCopy the code
  • Effect diagram:

Note: there is a space between # and “title”, which is the most standard syntax format.

Some editors are compatible, some are not. So it’s better to add a space.

2, list
  • Standard syntax: use-Character before the text-Operator can.
- Text 1 - Text 2 - Text 3Copy the code

If you want order, prefix the text with 1., 2., 3.

1. Text 1 2Copy the code

Note: leave a one-character space between -, 1., 2., and the text.

  • Effect diagram:

3. Hyperlinks
  • Standard syntax: [link name](link URL)

  • Effect diagram:

4, photos,
  • Standard grammar:
! [Image name](link url)Copy the code
  • Effect diagram:

5, references,
  • Standard syntax: > text

  • Effect diagram:

6, italic, bold
  • Standard grammar

Italic: * Text * bold: ** text ** Italic & bold: *** text ***

  • Effect diagram:

7. Code blocks
  • Standard grammar:

Your code (front 3 dots, back 3 dots)

  • Effect diagram:


8, tables,
  • Standard grammar:
dog | bird | cat
----|------|----
foo | foo  | foo
bar | bar  | bar
baz | baz  | baz
Copy the code
  • Effect diagram:


9. Special marking
  • Standard syntax: ‘ ‘
'Special style'Copy the code
  • Effect diagram:


10. Dividing line
  • Standard syntax: — minimum of 3

  • Effect diagram:

11. Common HTML tags

Note: HTML tags are intended for auxiliary use only and may not work with all editors.

  • Standard grammar:

Newline:

(or use Markdown’s standard syntax: space + space + carriage return, but I don’t find that intuitive) up: text Down: text

  • Effect diagram:


Three, Markdown advantages

  • Plain text, so highly compatible, can be opened with all text editors.
  • Let the writer focus more on writing rather than typesetting. (We’re all techies…)
  • Format conversion is convenient,markdownText can be easily translatedhtml,pdfAnd so on. (Just for convenience)
  • Grammar is simple
  • Readable, with tables, quotes, code blocks, etc., to instantly “get you”.

Recommended articles:

Swift 5.1(2) – Operator Swift 5.1(1) – Basic iOS UI state saving and recovery (3) iOS UI state saving and recovery (2) iOS UI state saving and recovery (1) iOS accurately timed common method Sign In With Apple (a) Strange dance weekly