Skip to content

Commit

Permalink
fix: Tutorial Syntax Highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
babu-ch committed Oct 24, 2024
1 parent 78d61f2 commit 0b71fcf
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 0b71fcf

Please sign in to comment.