We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 558bdeb commit 5b34e7fCopy full SHA for 5b34e7f
src/lib/markdown/formatters.ts
@@ -215,7 +215,7 @@ export function unescapeMarkdown(text: string): string {
215
export function stripHighlightComments(code: string): string {
216
return code
217
.split("\n")
218
- .map((line) => line.replace(/\s*\/\/\s*highlight-(line|start|end)/, ""))
+ .map((line) => line.replace(/\/\/\s*highlight-(line|start|end)/, ""))
219
.join("\n")
220
}
221
0 commit comments