Skip to content

Commit

Permalink
fix: Tutorial Syntax Highlight (#3078)
Browse files Browse the repository at this point in the history
  • Loading branch information
babu-ch authored Oct 29, 2024
1 parent 7c7e701 commit cf84ce1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tutorial/tutorial.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ export declare const data: Record<string, ExampleData>
export default {
watch: './src/**',
async load() {
const md = await createMarkdownRenderer(process.cwd(), undefined, '/')
const md = await createMarkdownRenderer(process.cwd(), {
theme: 'github-dark',
}, '/')
const files = readExamples(path.resolve(__dirname, './src'))
for (const step in files) {
const stepFiles = files[step]
Expand Down

0 comments on commit cf84ce1

Please sign in to comment.