Skip to content

Commit cf84ce1

Browse files
authored
fix: Tutorial Syntax Highlight (vuejs#3078)
1 parent 7c7e701 commit cf84ce1

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)