Home>Article>Development Tools> Let’s talk about how to configure Markdown in VScode (with basic syntax)
How to use markdown in VScode? The following article will introduce to you how to configure Markdown inVScode, and talk about the basic syntax of Markdown. I hope it will be helpful to you!
Open the extensions on the left, or use Ctrl Shift X, Enter Markdown. [Recommended learning:vscode tutorial,Programming video]
(1) Markdown all in one: It is a combination package, The most commonly used Markdown optimizations can be installed.
(2) Markdown preview GitHub styling: The Markdown rendering style used by Github. Using this style, you can preview the final display effect of the Markdown file in Github Pages locally.
1. Create a new Markdown file in VSCODE
Right-click in the blank space - New File
Enter the file name and end it with .md. Markdown documents end with .md.
Open the file for editing
Click the preview button to display the preview area. You can edit and view the effect of the file content
##2. The title of the Markdown file
The level of the title is represented by #. One # is the first level, and two #s are the second level. Levels can be displayed up to six levels. Note that there must be a space between # and the title content The code block is framed by two lines of """ symbols; if it is a specified code block and you want to have corresponding highlighting, you can add it at the end of the first line Enter the name of this language, and the code within the code block will execute the corresponding highlighted syntax, such as python Enter a number, add a period, and then a space; you can indent empty multi-level lists Enter -, then space; you can indent empty multi-level lists Bold: use two on the left and right of the text Wrap
Italic: Wrap the text with aon the left and right
Bold italic: Wrap the text with three * on the left and right Get up Strikethrough: Wrap the text with two ~~ symbols on the left and rightNote: The font display does not require spaces between symbols and content
Syntax: [hyperlink name] ( Hyperlink address) Syntax:The second line separates the header and content.
The text is on the left by default
Add ":" on both sides: the text is centered
Add ":" on the right: the text is on the right
For more knowledge about VSCode, please visit:vscode Basic Tutorial!
The above is the detailed content of Let’s talk about how to configure Markdown in VScode (with basic syntax). For more information, please follow other related articles on the PHP Chinese website!