diff --git a/public/turtorial/01/README.md b/public/turtorial/01/README.md
index ad430ad..bfd4239 100644
--- a/public/turtorial/01/README.md
+++ b/public/turtorial/01/README.md
@@ -2,7 +2,7 @@
## 标题
-h1到h6,一共六级标题。
+`h1` 到 `h6`,一共六级标题。
```html
标题 1
@@ -74,10 +74,14 @@ p {
`text-indent: 2em;` 表示首行缩进 2 个字符(单位不是 px,而是 em)
## 任务
-完成《白鹭》散文的排版,要求:
-- 标题:字号 32px,颜色黑色;
-- 每个段落字号 28px,颜色(#333),行间距 40px;
+标题和段落的简单美化。
+
+### 要求
+完成《白鹭》散文的排版:
+
+- 标题:使用 `h1` 标签,设置字号 32px,颜色黑色;
+- 每个段落:设置字号 28px,颜色(#333),行间距 40px,首行缩进两字符;
### 文字材料
白鹭
diff --git a/rsbuild.config.ts b/rsbuild.config.ts
index 4f03fd7..6c39253 100644
--- a/rsbuild.config.ts
+++ b/rsbuild.config.ts
@@ -9,6 +9,7 @@ export default defineConfig({
template: "./index.html",
},
source: {
+ include: [/node_modules[\\/]marked[\\/]/],
entry: {
index: "./src/main.ts",
},
@@ -26,8 +27,10 @@ export default defineConfig({
chunkSplit: {
strategy: "split-by-experience",
forceSplitting: {
- "lib-ui": /node_modules[\\/]naive-ui/,
- "lib-cm": /node_modules[\\/]@codemirror/,
+ "lib-ui": /node_modules[\\/]naive-ui[\\/]/,
+ "lib-cm": /node_modules[\\/]@codemirror[\\/]/,
+ "lib-marked": /node_modules[\\/]marked[\\/]/,
+ "lib-hljs": /node_modules[\\/]highlight\.js[\\/]/,
},
},
},
diff --git a/src/components/Tutorial.vue b/src/components/Tutorial.vue
index 40da3e8..1b7fc43 100644
--- a/src/components/Tutorial.vue
+++ b/src/components/Tutorial.vue
@@ -114,7 +114,7 @@ watch(step, render)
}
.markdown-body pre code {
- text-wrap: auto;
+ white-space: normal;
}
.codeblock-action {