Home >Development Tools >VSCode >How to import pictures into vscode

How to import pictures into vscode

王林
王林Original
2020-02-13 14:52:5741594browse

How to import pictures into vscode

1. Install plug-ins

Install the following two plug-ins in the VSCode extension store:

(1) markdownlint syntax tips

(2) Markdown Preview Enhanced Preview display

How to import pictures into vscode

2. Use preview

(1) Create a new md file and click the button in the upper right corner as shown.

How to import pictures into vscode

You can see a preview appears on the right.

3. Import pictures

Create a new assets folder in the same directory as the md file and put the pictures in it.

How to import pictures into vscode

(2) Add ![Struggle](./assets/Struggle.png) to the code and you can preview the picture on the right.

How to import pictures into vscode

Related tutorial recommendations: vscode tutorial

The above is the detailed content of How to import pictures into vscode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn