Skip to content

Commit ed03dfd

Browse files
jay-esbabu-ch
andauthored
fix: use renderAsync for tutorial description syntax highlighting (#3375) (#2759)
Co-authored-by: bab <mashirohira@gmail.com>
1 parent 34a4b85 commit ed03dfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)