markdown
1.1. 目录
create table of content
update section number
remove section number
update table of content
1.2. 标题
Use the Find All References (Shift+Alt+F12) command to find all locations in the current workspace where a Markdown header or link is referenced:
1.2.1. asdfs asdf
Tired of accidentally breaking links when you change a Markdown header? Try using Rename Symbol (F2) instead. After you type the new header name and press Enter, VS Code will update the header as well as automatically updating all links to that header:
1.2.2. adsff
1.3. 段落文本 asdf
Smart selection uses the following commands:
- Expand: Shift+Alt+Right
- Shrink: Shift+Alt+Left
ctrl + b
ctrl + i
alt + s
helloasfd
hhadslfjo
I need <mark>to highl</mark>ight these ==very important words==.
hellow his is something,asdfasdflj asdflj asdflj adswflj asdf asdf lasdfj
asdf,aswdf asdfolj asdf
asdf
aasdf
hello asdfh asdhf
helloagfasdf,
hello asdf asdf.
a asdfqo weasdf
To create paragraphs, use a blank line to separate one or more lines of text.
asdf asdflj asldfj ldfjas ,asdf asdflj asldfj ldfjas ,asdf asdflj asldfj ldfjas ,asdf asdflj asldfj ldfjas
,asdf asdflj asldfj ldfjas ,asdf asdflj asldfj ldfjas ,asdf asdflj asldfj ldfjas ,asdf asdflj asldfj ldfjas ,asdf asdflj asldfj ldfjas ,asdf asdflj asldfj ldfjas ,
asdf.
asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf
hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo hello helo
中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文中文
1.4. code blocks
Unless the paragraph is in a list, don’t indent paragraphs with spaces or tabs.
中文阿斯蒂芬 阿三地方了 orgies
中文阿斯蒂芬 阿三地方了 orgies
中文阿斯蒂芬 阿三地方了 orgies
中文阿斯蒂芬 阿三地方了orgies
Code blocks are normally indented four spaces or one tab. When they’re in a list, indent them eight spaces or two tabs.
<html>
<head>
<title>Test</title>
</head>
To denote a word or phrase as code, enclose it in backticks (`).
At the command prompt, type nano wesfdal sdaf asdf fas
.
Fenced Code Blocks
1
2
3
4
5
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
> To fix violations of this rule, use a consistent style (either indenting or code fences).
1
2
3
4
5
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
1.5. 列表
Unless the paragraph is in a list, don’t indent paragraphs with spaces or tabs.
To add another element in a list while preserving the continuity of the list, indent the element four spaces or one tab, as shown in the following examples.
asdf
asdf
asdf
asdf
helo asdf asdfl asdflj asdfl j asdflj asdfl j lasdfj asdf asdfl asdflj asdfl j asdflj asdfl j lasdfj asdf asdfl asdflj asdfl j asdflj asdfl j lasdfj asdf asdfl asdflj asdfl j asdflj asdfl j lasdfjasdf,
dsf asdfl asdfl lasdfj
asdf
- hello
- world
- ni hao
- ni hao
- nihao
- nihao
- asdf
- asdf
- asdf
- asdfv
- asdf
asdfa asg
asdf asdf asdf
asdf asdf asdf asdf
anotthre table
asdf asdfl asdfl
asdf asdf asdf asdf
asdf asf asdf asdf
asdf asdf
asdf asdf
asdf asdf asdf asdf
- hehloo asdf
- asdf asdf
- asdf asdf asdf
- asdf asdf asdf
- sdf asdf sdaf
- asdf asdf asdf
- asdf asdf dfas
- asdf asdf asdf
- hehehe
- aoefqwfh
asdf
asdf
asdf
asdf asdgv
asdf asdf asdfa sdaf asdf
asdf asdf asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd asdfa sdaf asd
asdf qwrg asdgf
- Write the press release
- Update the website
- Contact the media
1.6. quote 引用
asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf lol
asdf
asdf
For compatibility, put blank lines before and after blockquotes.
asdfhk asdf asdf asdf asdf asdf .
asdf asdf asdf
asdf
asdf
asdfh asdf
1.7. link 链接
http://www.example.com
My favorite sarch engine is Duck Duck go.
My favorite search engine is Duck Duck Go.
image
Path completions
Path completions help with create links to files and images. These paths are shown automatically by IntelliSense as you type the path of an image or link, and can also be manually requested by using Ctrl+Space.
Paths starting with / are resolved relative to the current workspace root, while paths staring with ./ or without any prefix are resolved relative to the current file. Path suggestions are automatically shown when you type / or can be manually invoked by using Ctrl+Space.
To add a link to an image, enclose the Markdown for the image in brackets, and then add the link in parentheses.
You can Drag and drop a file from VS Code’s Explorer or from your operating system into a Markdown editor. Start by dragging a file from VS Code’s Explorer over your Markdown code and then hold down Shift to start dropping it into the file.
If you prefer using the keyboard, you can also Copy and paste a file or image data into a Markdown editor.
With automatic Markdown link updating, VS Code will automatically update Markdown links whenever a linked to file is moved or renamed. You can enable this feature with the markdown.updateLinksOnFileMove.enabled setting.
Path IntelliSense can also help you link to headers within the current file or within another Markdown file. Start the path with # to see completions for all the headers in the file (depending on your settings, you may need to use Ctrl+Space to see these):
Accept one of these completions to insert the full link to that header, even if it’s in another file:
I love supporting the EFF.
This is the Markdown Guide.
See the section on code
.
Reference-style Links
tishi hobbit-hole
In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends
of worms and an oozy smell, nor yet a dry, bare, sandy hole with nothing in it to sit down on or to
eat: it was a hobbit-hole, and that means comfort.
<a href="https://www.example.com/my great page">link</a>
Footnotes
Here’s a simple footnote,[^1] and here’s a longer one.[^bignote]
[^1]: This is the first footnote.
[^bignote]: Here’s one with multiple paragraphs and code.
Indent paragraphs to include them in the footnote.
`{ my code }`
Add as many paragraphs as you like.
1.8. table 表格
left | center | right |
---|---|---|
1 | 2 | 3 |
45 | 768 | 987 |