Skip to content

Commit ada1c08

Browse files
committed
docs
1 parent 5de0661 commit ada1c08

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/docs/src/lib/mdsvex/remark-translate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const handleTextWithCode = (text) => {
2525

2626
for (let i = 0; i < text.length; i++) {
2727
const char = text[i]
28-
28+
2929
if (char === "`") {
3030
if (inCode) {
3131
// End of code block
@@ -65,7 +65,7 @@ const handleTextWithCode = (text) => {
6565
}
6666

6767
// Otherwise, combine all parts
68-
const combinedHtml = parts.map(p => p.value).join(" ")
68+
const combinedHtml = parts.map((p) => p.value).join(" ")
6969
return { type: "html", value: combinedHtml }
7070
}
7171

packages/docs/src/translation/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,4 +1156,4 @@
11561156
"Inbox": "Inbox",
11571157
"In chat window type this and write your prompt": "In chat window type this and write your prompt",
11581158
"`base-content` is the text color of the page by default. It's a dark color on light themes and it's a light color on dark themes.": "`base-content` is the text color of the page by default. It's a dark color on light themes and it's a light color on dark themes."
1159-
}
1159+
}

0 commit comments

Comments
 (0)