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