type
status
date
slug
summary
category
tags
password
icon
Since writing
.md
documents seems to be standard in my field, I've been introduced to Markdown, a way of combining writing and typography, and Typora is a very good Markdown editor. Note: Extended syntax may not be supported by all editors.Introduction to Markdown
Markdown is a lightweight markup language. It uses simple symbols to convey typographic meaning, marking up the layout while writing the document, and the final layout is automatically "exported" (converted to a valid HTML document) by the editor based on the symbols.
MarkDown basic syntax
First, the title
Syntax:
# (a space)
, well plus a space. A
#
is a first-level title, two # #
is a two-level title, and so on, the highest support for six-level title.Text
- Paragraph: two spaces or a blank line between them
- Bold:
*bold**
- Italicized:
Italicized *
- Italicized:
**Italicized Bold***
- Strikethrough:
~~strikethrough~~
- Highlighting (extended syntax):
== highlighting ==
III. Quoting
Syntax:
> (a space)
The role of the quote, the most intuitive is to quote famous people in secondary school, but also as a distinction between the content of the style.
Fourth, the dividing line
Grammar:
three - (minus sign)
five, the picture
Grammar:
! [content (optional)] (picture address ''title (optional)'')
[content] -
the content displayed when the mouse is moved over the picture, and the content displayed when the link to the picture fails. If you want to resize the image, Typora editor provides, right-click on the image and select Zoom Size, the syntax formatting will be converted to
HTML
syntax.Hyperlinks
Syntax:
[hyperlink name](hyperlink address)
Corner Note (Note)
Seven, the list
unordered list
Syntax:
- (a space)
- Unordered
- List
Ordered list
Syntax:
1. (one space)
- Ordered
- List
Task lists
to-do
VIII. Tables
Code
- Code within a line:
code
- Multi-line code:
code can be a new line
X. Extended syntax: mathematical formulas
- inline formula (inline):
$ $ formula syntax $ $
, the formula will appear in the line.
- Inter-block formula (display):
$$ formula syntax $$
, the formula will be displayed in the middle of the line by default.
You are welcome to leave a message in the comment section at the bottom (the comment section can be logged in or not and anonymous), and exchange ideas together~!
- 作者:Liang
- 链接:https://www.liangwatcher.top/article/markdown
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。
相关文章