Getting Started with Markdown

title

//How many# indicates several levels of titles

first-level title

secondary title

tertiary heading

Level 4 heading

Level 5 heading
Level 6 heading

paragraph

//Represents a paragraph, add two spaces at the end and enter or enter directly.

GOOGLE.COM

font

italic font //2*

Italic font //2 _

bold font //4*

Bold font //4 _

bold italic font //6*

Dividing line

// Use three or more asterisks, minus signs, and underscores in a line to create a divider




strikethrough

//Add 4 wavy lines to both ends of the text ~~

Google.com

underscore

// can pass htmltag implementation

underlined text

footnote

Create footnotes like this: 1

list

//The list is divided into ordered list and unordered list

// unordered list: use *, +, - as list markers, add spaces

  • first row
  • second line
  • The third row

//Add **. ** to the ordered list numbers, add spaces

  1. first row
  2. second line
  3. The third row

List nesting

//Add 4 spaces to the options in the sublist

  1. first item:
    - first element nested in first item - first element
    nested in second item

block

//beginning > add a space and enter

block

study

// can be nested >> spaces

nested

first level of nesting

// block nested list

first row

  1. second line
  2. The third row
  3. fourth row

//List nested blocks, you need to add an indentation of four spaces before >

  1. first row

Item One

second section

the third item

code

Supplementary content update

If the code on the paragraph can be enclosed in backticks (`)

print("hello word")function

code block

You can wrap a piece of code with...

print("hello word")

Link

expression

[link name] (link address) or <link address>

This is a link [Baidu] (https://www.baidu.com)

https://www.baidu.com

Advanced Links

A link is set by a variable, and the variable assignment is made at the end of the document

This link uses 1 as the URL variable Google

picture

expression

! [alt attribute text] (image address)

! [alt attribute text] (image address "alternative title")

  • Start with an exclamation mark!
  • Receives a square bracket, alt text for the image
  • Receives an ordinary bracket, the URL of the image, and the final quote plus the text of the optional 'title' attribute

! [RUNOOB icon](https://static.runoob.com/images/runoob-logo.png)
tag can define height and width

sheet

| to separate different cells, use - to separate header and other rows

The format is as follows:

title title
unit unit
unit unit

It is not easy for the author to code words. If this article is helpful to you, please give it a three-line support, thank you! ! !


  1. Learn from the past! ↩︎

Guess you like

Origin blog.csdn.net/A6_107/article/details/120518634