Skip to content

Commit 717e6fc

Browse files
committed
docs: adjust
1 parent 5b7ccbc commit 717e6fc

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

docs/en/reference/default-theme-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export default defineConfig({
179179
async _render(src, env, md) {
180180
const html = await md.renderAsync(src, env)
181181
if (env.frontmatter?.title)
182-
return await md.renderAsync(`# ${env.frontmatter.title}`) + html
182+
return (await md.renderAsync(`# ${env.frontmatter.title}`)) + html
183183
return html
184184
}
185185
}

docs/es/reference/default-theme-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default defineConfig({
174174
async _render(src, env, md) {
175175
const html = await md.renderAsync(src, env)
176176
if (env.frontmatter?.title)
177-
return await md.renderAsync(`# ${env.frontmatter.title}`) + html
177+
return (await md.renderAsync(`# ${env.frontmatter.title}`)) + html
178178
return html
179179
}
180180
}

docs/fa/reference/default-theme-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default defineConfig({
174174
async _render(src, env, md) {
175175
const html = await md.renderAsync(src, env)
176176
if (env.frontmatter?.title)
177-
return await md.renderAsync(`# ${env.frontmatter.title}`) + html
177+
return (await md.renderAsync(`# ${env.frontmatter.title}`)) + html
178178
return html
179179
}
180180
}

docs/ja/reference/default-theme-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export default defineConfig({
179179
async _render(src, env, md) {
180180
const html = await md.renderAsync(src, env)
181181
if (env.frontmatter?.title)
182-
return await md.renderAsync(`# ${env.frontmatter.title}`) + html
182+
return (await md.renderAsync(`# ${env.frontmatter.title}`)) + html
183183
return html
184184
}
185185
}

docs/ko/reference/default-theme-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default defineConfig({
174174
async _render(src, env, md) {
175175
const html = await md.renderAsync(src, env)
176176
if (env.frontmatter?.title)
177-
return await md.renderAsync(`# ${env.frontmatter.title}`) + html
177+
return (await md.renderAsync(`# ${env.frontmatter.title}`)) + html
178178
return html
179179
}
180180
}

docs/pt/reference/default-theme-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default defineConfig({
174174
async _render(src, env, md) {
175175
const html = await md.renderAsync(src, env)
176176
if (env.frontmatter?.title)
177-
return await md.renderAsync(`# ${env.frontmatter.title}`) + html
177+
return (await md.renderAsync(`# ${env.frontmatter.title}`)) + html
178178
return html
179179
}
180180
}

docs/ru/reference/default-theme-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export default defineConfig({
179179
async _render(src, env, md) {
180180
const html = await md.renderAsync(src, env)
181181
if (env.frontmatter?.title)
182-
return await md.renderAsync(`# ${env.frontmatter.title}`) + html
182+
return (await md.renderAsync(`# ${env.frontmatter.title}`)) + html
183183
return html
184184
}
185185
}

docs/zh/reference/default-theme-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default defineConfig({
174174
async _render(src, env, md) {
175175
const html = await md.renderAsync(src, env)
176176
if (env.frontmatter?.title)
177-
return await md.renderAsync(`# ${env.frontmatter.title}`) + html
177+
return (await md.renderAsync(`# ${env.frontmatter.title}`)) + html
178178
return html
179179
}
180180
}

0 commit comments

Comments
 (0)