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

How to use Markdown

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

Share

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

Most people do not understand the knowledge of this article "how to use Markdown", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can gain something after reading this article. Let's take a look at this "how to use Markdown" article.

HTML defines comments with closures at the end (cross-line support) and is not displayed in the body.

Markdown follows the HTML Comment annotation format:

Examples of scenarios where annotations apply:

CSDN blogs generate TOC on web pages by default, but GitHub still does not support [TOC], so you can comment out the [TOC] tag at the beginning of the Markdown blog and open it when you need to view OUTLINE.

At the beginning of the Markdown source code of the blog, I usually use comments to comment on git commit-hash-id and commit-date information (git log-p) so that I can backtrack when changes are revised.

When writing a blog using Markdown, I like to use reference links, and then set up a special section at the end of the article to define all the footnotes and reference links used in the article. With the help of the folding feature of Haroopad/FoldingText/Marked2, I am used to adding a line of Comment Heading at the end to fold the reference area at the end of the hidden text when reading the Markdown source code.

# #

Title (Header) 1

Headings are used to present the organizational structure of a document. Many Markdown parsers provide [TOC] (Table of Contents) tags that generate document outlines based on Heading Levels, while search engines use titles to index the structure and content of web pages.

Markdown supports two kinds of title syntax, Setext-like and atx-like.

Setext Heading Format (2 level)

The Setext-like form is in the form of a bottom line, marking the highest-order title with three or more consecutive = (equal signs) bottom lines and the second-order title with three or more consecutive-(dashes) bottom lines. For example:

Equal signs for first-level headers:

This is an H1 = 12

Dashes for second-level headers:

This is an H2-12Atx Heading Format (6 level)

The Atx-like form inserts 1 to 6 # (hash character) at the beginning of the line, corresponding to the sixth-order heading (corresponding to the-tag in HTML). For example:

# this is the first level title (H1, usually used for the document title) # # this is the second level title (H2, some renderers add the hr bottom line to the second level title) # this is the level 3 title (H3) # this is the level 4 title (H4) # this is the level 5 title (H5) # # this is the level 6 title (H6) # 1234567

The number of # at the beginning of the line determines the order of the title. For the sake of compatibility and readability, it is recommended to insert a space between the last # sign and the title text.

The # sign at the end of the line is treated as an ordinary character. For beauty's sake, you can also optionally "close" atx-style headings, adding a corresponding or unlimited number of # at the end of the line.

Paragraph (Sentence / Paragraph) line wrap

Standard Markdown does not support natural line wrapping (literal new line), and some renderer extensions support natural line wrapping.

The Heading (H1-H6) marked by the # symbol will break lines naturally. If you want to force line breaks between ordinary paragraphs (Manual Line Break), you can append two (or more) spaces at the end of the natural line breaks to achieve this.

Due to the different rendering effects of different Markdown Editor, it is recommended to write according to the standard Markdown, so that the best compatibility can be achieved by publishing to different rendering engines. For example, you may need to add two space hard wrapping between two consecutive references starting with > to avoid adhesion; in some Markdown Editor, you may need to add two space hard wrapping at the end of the bullet list item line to continue the subsequent mixed layout.

Timely embedded HTML

Control line wrapping

Because spaces mainly control typesetting in Markdown, in some complex block elements, such as the td element in the Table table mentioned below, you can only use the embedded HTML

(XHTML self-closing writing) tag to achieve local line wrapping.

subsection

A paragraph consists of one or more consecutive lines of text, which are often explicitly separated by blank lines.

Lines that appear empty on display, such as lines that contain only spaces or / and tabs (tab), are considered blank lines.

Blank lines are applicable in scenarios:

There is no need to add two spaces or line breaks at the end of the last sentence of a blank line.

Introducing blank lines between paragraphs is equivalent to being spaced into paragraphs (corresponding to the HTML

Label).

Although Markdown Render will render each level of Heading (H1-H6) in a special format to highlight the level, it is recommended to insert a blank line at the end of the chapter (Section/Chapter) to show that the text is segmented and easy to read.

For better reading sense and compatibility, it is recommended to leave a blank line above the split line (Horizontal Rules), and insert a blank line above and below the block elements such as block reference (Blockquote), preformatted (Preformatted Code Block), list (List), table (Table), etc.

Symbol (Punctuation Characters) escape character

Markdown carefully selects some symbols to form a set of text-based markup syntax. For example:

Add a * sign on both sides of the text to make it look like * emphasis *.

Adding + (or-or *) at the beginning of a multiline appears to be a list.

Add a > sign at the beginning of the paragraph line to refer to the block, as you have seen in your email.

You can use the backslash (\, backslash) to escape the literal characters of the Markdown tag symbol.

#: the # at the beginning of the line (where the key subtitle is displayed using the kbd closure) defaults to H1, and here the literal character is displayed using a backslash escape.

Character entity

In Markdown, spaces and tab are often used for format control, such as:

Insert tab at the beginning of the line or indent four spaces to indicate preformatting

The tab or space before the bullet tag of a reference or list is used to indent the nesting level

...

Ordinary paragraphs generally start with the top space and cannot be indented using spaces or tab, including the spaces after the reference marker (>) and the list marker (bullet list indicator).

If you want to enter a space to show the space-occupying indentation effect, you can embed the HTML Entity entity code corresponding to the space. HTML escapes a string (Escape Sequence), that is, a character entity (Character Entity). A character entity consists of three parts:

The first part is a & (ampersand) symbol

The second part is the name of the Entity; or # plus the entity number (Entity Code)

The third part is a semicolon; (semicolon).

HTML provides five kinds of space entities (space entity), which have different widths, and non-broken space () is the width of regular spaces that can be run in all major browsers. Several other spaces ( ,  ,  , ‌, ‍) vary in width in different browsers.

Entitycodefull-namewidth no-break space keyboard space (space bar)    en space half-width space (half-width)    em space full-width space (full-width)

1. In HTML, the resulting spaces do not accumulate (only 1); they can only be accumulated using a html entity representation.

2. The en in   is the measure of typography, half the width of the em and nominally the width of the lowercase letter n. This space inherits the consistent characteristics of the space family: transparent! A fairly robust feature of this space is that it occupies exactly the width of 1 stroke and 2 Chinese widths, and is basically independent of fonts.

3. The em in   is the unit of measurement of typography, which is equivalent to the currently specified number of points. This space also inherits the consistent characteristics of the space family: transparent! This space also has a fairly robust feature, which is that it occupies exactly 1 Chinese width and is basically independent of the font.

Ordinary natural lines hit the first 2 spaces without the indentation effect.

Four are added at the beginning of the line.

     adds four   at the beginning of the line.

     adds four   at the beginning of the line.

Separator line (Horizontal Rules)

You can create a horizontal separator line with more than three asterisks (asterisks:*) or minus signs (hyphens:-) or bottom line (underscores:_) in a line, corresponding to the tags in HTML, for Sentence/Section/Page Break.

There can be nothing else in the line, but you can insert a space between an asterisk or a minus sign.

A separation line can be established in each of the following ways:

-1234

Note:

When using minus sign (-) division, it is best to separate spaces or a blank line above, otherwise more than three consecutive minus signs will mistakenly upgrade the previous line of text to a secondary title!

Text format (Text Styling)

The text format includes enhanced modification and rich expression, such as emphasis, bold, highlight, underline, delete line, footmark and so on.

Emphasize (Italic/Emphasize)

Description:

Text surrounded by an asterisk (*) or an underscore (_) will be shown in italics, corresponding to the / tag in HTML.

Syntax:

Some of these words * are emphasized*.Some of these words _ are emphasized also_.12

Example:

Some of these words are emphasized.

Some of these words are emphasized also.

GFM (Github Flavored Markdown) recommends that:

In view of the fact that underscores are usually used to define variables in source code such as C language, GFM ignores the underscores within words and recommends using asterisks (*) to wrap italics.

Underlined closure word italics: wow great stuff (source: wow _ great_ stuff)

GFM ignores the underscore within the word: wow_great_stuff

Bold (Bold/Strong)

Description:

Text that needs special emphasis surrounded by two asterisks (*) or underscores (_ _) will be bold, corresponding to the / tag in HTML.

Syntax:

Use two asterisks for * * strong emphasis**.Or, if you prefer, _ _ use two underscores instead__.A * * section surrounded with three asterisks*** will be specially emphasized.123

Example:

Use two asterisks for strong emphasis.

Or, if you prefer, use two underscores instead.

A section surrounded with three asterisks will be specially emphasized.

Highlight (Mark/Highlight)

Description:

In HTML, you can use labels to highlight text for eye-catching purposes.

Standard markdown does not provide corresponding label support, and both Macdown and Haroopad are highlighted with two equal signs (equal signs:=).

Syntax:

Macdown and Haroopad:==Highlight==

CriticMarkup syntax: {= = Highlight==}

Example:

Macdown and Haroopad:==Highlight==

Underscore (Underline)

Description:

In HTML, you can use tags to underline text.

Standard markdown does not provide corresponding tag support, while MMD (MultiMarkdown) provides extension support.

Macdown uses an asterisk for emphasis and an underscore for the original meaning of the underscore, while Haroopad uses two plus signs (plus sign:+) to mark the underscore.

Syntax:

Macdown:_underline_

Haroopad:++underline++

Example:

Macdown:underline

Haroopad:++underline++

Delete Line (Strikethrough)

Description:

In HTML, you can use tags to define deleted text in a document (along with tags to describe updates and fixes in the document).

Standard markdown does not provide corresponding tag support, while GFM provides extension support, using two two wavy line:~~ enclosures to add delete lines to the text.

Syntax:

~ ~ Strikethrough~~12

Example:

Strikethrough

Footmark (Script)

Standard Markdown does not support footers and can only be achieved through embedded HTML and tags.

Upper footmark:

Haroopad syntax (Caret): ^ Superscript ^

HTML syntax: superscript

Example:

2 ^ 10 ^ = 10 = 1024

Footer:

Haroopad syntax: ~ Subscript~

HTML syntax: subscript

Example:

Hao 2 O = H 2O is a liquid.

Link (Hyperlink) automatic link (Autolink)

When we write a web address, some Markdown Render can automatically generate links that match the title (title) with the href URL (URL), that is, automatic links.

Markdown supports relatively short automatic links to deal with URLs and email mailboxes. As long as the text is wrapped in angle brackets, Markdown will automatically recognize and convert it into a link.

For hyperlink addresses at the beginning of the HTTP (s) protocol, automatic links are generated even without the need to add angle brackets.

Http://daringfireball.net/projects/markdown/

Text (text href)

Markdown supports two forms of hypertext link syntax formats: inline (Inline) and reference (Reference).

Either way, the link text is marked with square brackets (square brackets: []).

Inline (Inline)

As long as the square brackets are followed by parentheses (parenthesis or round brackets) and the URL of the link is inserted, the link can be built in one line. The syntax format is [text] (url), and the HTML equivalent source code is text.

If you want to link to a native resource, you can use a relative path (. / path/to/your/resource).

A hyperlink to the Daring Fireball Markdown home page is defined below:

[Daring Fireball Markdown] (http://daringfireball.net/projects/markdown/)

Daring Fireball Markdown

If you also want to add a linked title, just enclose the title text in double quotation marks after the URL.

[Daring Fireball Markdown] (http://daringfireball.net/projects/markdown/ "Markdown Official Website")

Daring Fireball Markdown

When the mouse hovers over the hyperlink text, it will prompt "Markdown Official Website".

Reference formula (Reference)

A reference link is to put another square bracket after the bracket of the link text, fill in the second square bracket with the tag id that identifies the link, and then give the real link address of the tag id elsewhere.

First define the reference refid: [text] [refid]

Then define what refid means: [refid]: URL

The following reference indirectly defines a hyperlink to the Daring Fireball Markdown home page:

First define the reference id as markdown_homepage_refid:

[Daring Fireball Markdown] [markdown_homepage_refid]

Then define the URL that markdown_homepage_refid points to elsewhere:

[markdown_homepage_refid]: http://daringfireball.net/projects/markdown/

The final effect is in-line style:

Daring Fireball Markdown

Description:

Optionally, add a space between the two square brackets: [text] [refid]. Since Markdown does not support natural line wrapping, it is okay to write two square brackets on two consecutive lines. Separated by a blank line in the middle, it is considered to be two reference links in simplified format.

Refid can be consistent with text, further simplifying the writing format of reference links:

At this point, the refid in [refid] can be omitted and left blank as []: define [text] [] first, and then define [text]: URL.

You can even omit the aerial parentheses in [text] [] and abbreviate it to [text], followed by a definition of [text]: URL.

The href URL referred to by refid can be defined anywhere in the file. [refid]: the URL of URL can be optionally enclosed in single quotation marks, double quotation marks, or brackets to mark title.

The definitions of the following three links are the same:

[foo]: http://example.com/ "Optional Title Here"

[foo]: http://example.com/ 'Optional Title Here'

[foo]: http://example.com/ (Optional Title Here)

Picture (image href) insert picture

Markdown uses a syntax that is very similar to text links to insert pictures, but also allows for two styles: inline and reference.

The difference is that you need to add an exclamation point (exclamation markup url!) before the link text square brackets, and the syntax format is! [alt_text] (url), and the equivalent source code of HTML is

text

Where alt_text can be left empty.

Daringfirefall logo:

! [daringfirefall] (http://daringfireball.net/graphics/logos/)

Of course, you can also add title like text links for mouse hover prompts.

Description:

Paragraphs in Markdown (including pictures) are aligned to the left by default. To center the picture, you can directly embed the HTML

Tag to set the align= "middle". If not, try wrapping a layer of div setting style= "text-align:center" implementation:

程序猿-弦苦

one

Picture link

If you copy someone else's picture and insert it into your own blog, it's best to give a hyperlink on the picture to point to the source to facilitate traceability.

We nest another layer of [] () outside the Markdown image tag! [] () to establish a hyperlink to the picture, and click on the picture to jump to the source address of the link.

The format of the picture link looks something like this:

[! [] (img_url)] (ref_url)

Define haroopad logo to point to the home page:

[!] (http://pad.haroopress.com/assets/images/logo-small.png "haroopad")] (http://pad.haroopress.com/)

Anchor point (inner link) bookmark (Bookmark)

The most important attribute of tags in HTML is href, which indicates the link target, which can be either an external site or an on-page anchor. In-page anchors can achieve similar bookmark jump functions, the most typical is to click on the directory bookmark in TOC to jump to the specified chapter to read.

Syntax for building anchor points within a page, similar to referential links:

Define the anchor point id:bookmark_text first

Then define an object with id as auchor_id (here with

For example): auchor_text

For example, at the end of the article, we define EOF (End Of File) with id as end: The end!

And then through Goto the End! Specify bookmark "Goto the End!" Jump to "The End!" at the end of the text Place:

Goto the End!

Footnote (Footnote)

Above we define the bookmark Goto the End!, which will jump to the anchor with id # end at the end of the text, so that we can quickly get to the end of the text. So how to jump back to the reading point where the bookmark was just now? Let's take a look at the footnotes that have the effect of loop jumping.

Footnotes are used to add supplementary notes to an entry in the text, to mark the citation of an entry, or to explain technical terms, just like references. Footnotes are usually at the end of the document and are numerically marked in the text.

The writing of footnotes is similar to the minimalist reference link format:

First add [^ Footnote]: terminology [^ footnote] after the word (terminology) that requires footnotes.

Then define the footnote in the glossary area at the end of the text (add a note): [^ Footnote]: explanatory notes

The following is a footnote added in this article to the coloring of the title "Header" of chapter 2:

# # title (Header) [^ Header] [^ Header]: the source code here is `title (Header) `. Try using font.color coloring. one hundred and twenty three

Description:

A hyperlinked number (some rendered in superscript format) appears after the entry to which the footnote is added. Click the number to jump to the definition of the footnote in the glossary area at the end of the text.

At the end of the glossary area, a carriage return symbol (↵) is added at the end of the line defined by the footnote. Click to return to the marked footnote point.

Reference (Blockquote)

The label definition in HTML is extracted from a block reference from another source.

All text between and is separated from regular text, often indented on the left and right sides, and sometimes in italics. That is, block references have their own space. This article makes extensive use of references (composite lists) to identify special instructions or considerations.

The Markdown tag block reference uses a reference similar to email, adding > (more than or greater than sign) before the broken line:

Fall in love with someone > fall in love with a city 12

Fall in love with someone

Fall in love with a city

The multi-reference tag at the beginning of the line can achieve the effect of nested indentation (note that empty lines are required for dream interpretation):

> Dream > > Dream in Dream > > Inception > > Dream in Dream > Dream 1234567

Dream

Dream in a dream

Inception space

Dream in a dream

Dream

Description:

If you insert code using the reference format, the indentation format at the beginning of the line is lost, and you need to supplement the space placeholder yourself.

It is generally not recommended to use the blockquote (>) format to reference the source code, you should use the pre format to reference the code.

For nesting, you need to add a blank line (blank line) or an empty reference line (additional levels of >).

Code (Code)

If you want to mark an inline snippet, you can use a backtick quotes closure; if you want to insert a cross-line fragment or block, you can use preformatted syntax.

In this paper, when demonstrating the Markdown syntax source code, the single-line single sentence uses the inline code format, and the cross-line code snippet uses the code block format.

Inline code (Inline Code)

Description:

If you want to mark an inline snippet, you can wrap it in backtick quotes, corresponding to the tag in HTML (changing the text to an equal width font, implying source code).

If you want to insert backquotes within a code section, you can use multiple backquotes to open and end the code section.

Syntax:

Use the `printf () `function. (backslash escape is used here)

Example:

Use the printf () function. (`printf () `)

Use the `printf () `function. ("`printf () `"`)

Code block (Code Blocks)

Description:

Preformatted Code Block

If you want to insert a cross-line fragment or block, and you want to maintain typesetting styles, including spaces, newline characters, and indentation, you can use preformatted reference syntax formatting. Corresponds to the label in the HTML.

Fenced Code Block

If you want to support programming language syntax highlighting, you can use the Fenced Code Block reference syntax format based on the YAML 2 markup language extended by GFM.

Syntax:

Preformatted Code Block

Inserting 1 tab or 4 spaces at the beginning of a paragraph represents a code block.

[Fenced Code Block]

Wrap the closure with three backquotes at the beginning and end of the line, and add the YAML language identification after the first three backquotes of the line.

LanguagealiasesMarkdown has no aliases. Pay attention to case-sensitive HTMLxhtmlJavaScriptjs, nodeC, no aliases, and case-sensitive C++cppObjective-Cobj-c, objc, objectivecVimLvim, nvim.

Example:

1.Preformatted Code Block

Indent a block of code as a whole to the right (⌘ +]) to test.

(1) start with tab:

These lines begin with tab will be shown as pre code block.these lines begin with tab will be shown as pre code block.these lines begin with tab will be shown as pre code block.1234

(2) start with 4 spaces:

These lines begin with 4 spaces will also be shown as pre code block.these lines begin with 4 spaces will also be shown as pre code block.these lines begin with 4 spaces will also be shown as pre code block.1234

Note:

The pre format has the following drawbacks:

The indentation support for multi-tab and spaces is not perfect!

Misunderstanding the macro symbol # (# include, # import) as H1 may affect the parser's TOC!

Mistake the top blank line (including the tab at the beginning of the line) for Paragraph Break, and break the code block into fragments!

2.Fenced Code Block

Fenced Code Block is wrapped in three backquotes (backtick quotes: `, some support wavy lines\ ~). The three backquotes on the first line can be highlighted with the programming language's YAML tag recognition syntax.

The following demo inserts a python code:

The first line (beginning with three backquotes): "`python"

Middle: print ('Hello worldview')

The last line (ending with three backquotes): "`

Print ('Hello worldview') 1

The following demonstration inserts a piece of Objective-C code:

First line: "`obj-c"

Middle: Objective-C Code Block

Last line: "`

/ main.m// EmptyApplication//// Created by faner on 15 faner 5. / Copyright ©2015 faner. All rights reserved.//#import # import "AppDelegate.h" int main (int argc, char * argv []) {@ autoreleasepool {return UIApplicationMain (argc, argv, nil, NSStringFromClass ([AppDelegate class]));} 12345678910111213141516

Note:

The Haroopad editor misunderstood the first valid character # of # import in the above code as H1, causing TOC confusion or Heading Focus Folding invalidation. At this point, try adding spaces or tab indents at the beginning of the Fenced Code Block line.

About GitHub configuration Fenced Code Block syntax highlighting using YAML tags, you can refer to the preliminary YAML, YAML learning, YAML learning summary, YAML- wants to love you easily.

List (List)

Markdown extensions such as GFM support unordered lists, ordered lists, and task lists.

Unordered list (Unordered List)

The first line of an unordered list (unordered, bulleted) item begins with an asterisk (or plus or minus sign) plus a space as a list tag (list markers):

-bullet list item 1 begin with a hyphens'-'+ bullet list item 2 begin with a pluses'+'* bullet list item 3 begin with an asterisks'* '123

Example effect:

Bullet list item 1 begin with a'-'

Bullet list item 2 begin with a'+'

Bullet list item 3 begin with a'*'

The nesting effect (nested list) is achieved by adding the order of tab before the list tag.

The following is a table of contents for the [links] chapter in the TOC of this article:

-Link (Hyperlink)-automatic link (Autolink)-text (text href)-inline (Inline)-reference type (Reference)-picture (image href)-insert picture-picture link-anchor (inner link)-bookmark (Bookmark)-footnote (Footnote)-reference (Blockquote) 123456789101112

Link (Hyperlink)

Bookmark (Bookmark)

Footnote (Footnote)

Insert picture

Picture link

Inline (Inline)

Reference formula (Reference)

Automatic linking (Autolink)

Text (text href)

Picture (image href)

Anchor point (inner link)

Reference (Blockquote)

Indent control character: space or TAB?

Inserting spaces before the list tag can also achieve the indentation control nesting effect, but different Markdown Render have different requirements for the number of spaces at the control level.

In order to achieve the best compatibility, it is recommended to use tab to control the nesting level (nested hierarchy) in order to achieve the desired display effect under different rendering engines. Of course, the premise is that you use hard tabs (tab characters) instead of soft tabs (spaces).

Ordered list (Ordered List)

The line beginning of an ordered list (ordered / numbered) item is marked with a number followed by a period (use numbers followed by periods):

GETTING STARTED Choosing Blogging Platform (WordPress) 2. GETTING YOUR BLOG ONLINE Choosing Domain Name & Web Hosting3. DESIGNING AND TWEAKING YOUR BLOG Quick and easy ways to get your blog look the way you want4. WRITING BLOG POSTS AND PAGES Adding new content for your Blog (Posts, Pages, Images etc...) 12345678

Step-by-step walkthrough for starting a blog:

GETTING STARTED

Choosing Blogging Platform (WordPress)

GETTING YOUR BLOG ONLINE

Choosing Domain Name & Web Hosting

DESIGNING AND TWEAKING YOUR BLOG

Quick and easy ways to get your blog look the way you want

WRITING BLOG POSTS AND PAGES

Adding new content for your Blog (Posts, Pages, Images etc...)

Ordered lists and unordered lists can be mixed and nested.

Task list (Task Lit)

The GFM extension supports turning a list into a task list with a check box, simply adding the [] tag ☐ after the list tag for unchecked, and filling in the x ([x]) tag ☑︎ in square brackets to indicate checked (filled).

-[] task1 to do- [x] task2 done1. [] task3 to do2. [x] task4 done1234

[] task1 to do

[x] task2 done

[] task3 to do

[x] task4 done

Form (Table)

You can create tables by assembling a list of words and dividing them with hyphens-(for the first row), and then separating each column with a pipe | (vertical bar):

First HeaderSecond HeaderContent CellContent CellContent CellContent Cell

For aesthetic purposes, you can also add extra pipes on the ends:

First HeaderSecond HeaderContent CellContent CellContent CellContent Cell

Note that the dashes at the top don't need to match the length of the header text exactly:

NameDescriptionHelpDisplay the help window.CloseCloses a window

You can also include inline Markdown such as links, bold, italics, or strikethrough:

NameDescriptionHelpDisplay the help window.CloseCloses a window

Finally, by including colons: within the header row, you can define text to be left-aligned, right-aligned, or center-aligned:

Left-AlignedCenter AlignedRight Alignedcol 3 issome wordy text$1600col 2 iscentered$12zebra stripesare neat$1

A colon on the left-most side indicates a left-aligned column; a colon on the right-most side indicates a right-aligned column; a colon on both sides indicates a center-aligned column.

Mathematical formula

You can render LaTeX3 mathematical expressions using MathJax4, as on math.stackexchange.com:

The Gamma function satisfying Γ (n) = (n − 1)! ∀ n ∈ N Γ (n) = (n − 1)! ∀ n ∈ N is via the Euler integral

Γ (z) = ∫∞ tz − 1e − tdt. Γ (z) = ∫ 0 ∞ tz − 1e − tdt.

Write a formula for conservation of mass and energy

E=mc2E=mc2

The end!

The source code here is the title (Header), try to use font.color coloring. ↩

YAML is a recursive abbreviation for "YAML Ain't a Markup Language" (YAML is not a markup language). Previously, YAML actually meant "Yet Another Markup Language" (another markup language). ↩

LaTeX is a typesetting system based on "section". It defines the subordinate level of each sentence in the article through sentences such as\ section and\ paragraph, which greatly facilitates batch processing at all levels.

MatchJax is a JavaScript engine that displays mathematical formulas on the network. MathJax can parse the markup languages of Latex, MathML, and ASCIIMathML. ↩

The above is about the content of this article on "how to use Markdown". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

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

Development

Wechat

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

12
Report