Skip to content

Commit 360ac42

Browse files
babu-chjay-es
authored andcommitted
fix: Tutorial Syntax Highlight (#3078)
1 parent be981bb commit 360ac42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tutorial/tutorial.data.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ export declare const data: Record<string, ExampleData>
77
export default {
88
watch: './src/**',
99
async load() {
10-
const md = await createMarkdownRenderer(process.cwd(), undefined, '/')
10+
const md = await createMarkdownRenderer(process.cwd(), {
11+
theme: 'github-dark',
12+
}, '/')
1113
const files = readExamples(path.resolve(__dirname, './src'))
1214
for (const step in files) {
1315
const stepFiles = files[step]

0 commit comments

Comments
 (0)