Skip to content

Commit c8e7b4d

Browse files
authored
fix: use renderAsync for tutorial description syntax highlighting (#3375)
1 parent 6313f81 commit c8e7b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tutorial/tutorial.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default {
1515
const stepFiles = files[step]
1616
const desc = stepFiles['description.md'] as string
1717
if (desc) {
18-
stepFiles['description.md'] = md.render(desc)
18+
stepFiles['description.md'] = await md.renderAsync(desc)
1919
}
2020
}
2121
return files

0 commit comments

Comments
 (0)