同步现在的代码

This commit is contained in:
linghutianhao
2026-08-14 15:28:57 +08:00
parent 5eab53a777
commit 8b6b8e7ab7
66 changed files with 7248 additions and 1248 deletions
+38 -38
View File
@@ -1,47 +1,47 @@
---
sidebar_position: 1
sidebar_position: 999
---
# 文档说明
# Tutorial Intro
Let's discover **Docusaurus in less than 5 minutes**.
## Getting Started
Get started by **creating a new site**.
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
### What you'll need
- [Node.js](https://nodejs.org/en/download/) version 20.0 or above:
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
## Generate a new site
Generate a new Docusaurus site using the **classic template**.
The classic template will automatically be added to your project after you run the command:
```bash
npm init docusaurus@latest my-website classic
### 小于号录入方式
```
1: <% 替换成 {'<'}%
2: 加转义符号 {'<'}%
3: 加进代码块
```
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
The command also installs all necessary dependencies you need to run Docusaurus.
## Start your site
Run the development server:
```bash
cd my-website
npm run start
### 注释符号
```
{/* */}
```
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
### blog预览结束符
```
{/* truncate */}
```
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
### markdown插件快捷键
格式化markdown table : alt + shift + f
### 注释
```
{/* 注释 */}
```
### 标记文字
```
`标记文字`
```
### 文件本地打开
```
vscode://file/D:/projects/my-website/README.md
typora://file/D:/projects/my-website/README.md
```
### 图片本地
```
![图片1](./2026开发笔记/img/docsVersionDropdown.png)
```
![图片1](./2026开发笔记/img/docsVersionDropdown.png)