Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to commonly used Markdown syntax

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "introduction to Common Markdown Grammar". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "introduction to Common Markdown Grammar".

First, what is markdown?

Markdown is a markup language that is easy to write and read.

Second, why use markdown?

Good platform expansibility. Focus on the writing itself rather than the format.

Third, what are the useful markdown tools?

1. The Jupyter Notebook programming environment supports markdown editing mode.

2. Markdown here plug-in for Google Chrome browser

It can be used in email and rich text editing environments such as Wechat official account platform.

3. The brief book supports the markdown writing mode.

4. [Md2All] (http://md.aclickall.com/) supports design markdown typesetting style editing

Fourth, the most commonly used markdown syntax

1, title

# first-level title

# # second-level title

# third-level title

2, sequence

* Sunshine

-Beach

+ waves

+ cactus

3, emphasize

* italic emphasis *

* * bold emphasis * *

~ ~ delete line ~ ~

4, dividing line

***

*******

______

Fifth, insert the code

Python Code:

```{python}

Def myfun (x):

Return (Xerox 2)

`

Matlab Code:

```{matlab}

X = 1PUR 100

Sausage 0

For I = x

S=s+i

End

`

Six, insert the table

| | Fruit | Price | quantity |

| |-|: | -: |

| | Banana | $1 | 5 | |

| | Apple | $1 | 6 | |

| | Strawberry | $1 | 7 | |

Seven, insert reference

Once upon a time, there was a little prince who lived in a place only a little older than him.

On the planet of. He wants a friend. "the Little Prince"

Eight, insert hyperlink

Click the blue [Baidu] (http://www.baidu.com) hyperlink to jump to the Baidu search home page.

Nine, insert the picture

The syntax for inserting a picture has one more front exclamation mark than the syntax for inserting a hyperlink. You can insert a picture in a short book by dragging and dropping directly. Note that the photo can be resized after the last number '400' is changed.

! [Python and the beauty of algorithms logo.png] (http://upload-images.jianshu.io/upload_images/5140788-49e659e960d2f587.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/400)

Ten, insert footnote

Inserting a footnote [^ 1] is very simple [^ 2].

[^ 1]: this is the leading actor No. 1.

[^ 2]: this is the hero No. 2.

Thank you for your reading, the above is the content of "introduction to Common Markdown Grammar". After the study of this article, I believe you have a deeper understanding of the problem of commonly used MarkdownGrammar introduction, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report