Skip to content

Commit 510d7d4

Browse files
jay-esbabu-ch
andauthored
fix: Tutorial Syntax Highlight (#3078) (#2381)
Co-authored-by: babu-ch <[email protected]>
1 parent be981bb commit 510d7d4

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)