Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Commit

Permalink
docs: fix lang
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVann committed Oct 19, 2020
1 parent e269416 commit 74e2af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module.exports = {
encoding: 'utf8',
})
text = `<script>\n${text}</script>`
const lang = 'js'
const lang = 'html'
const code = prism.highlight(text, prism.languages[lang], lang)
return `<pre><code language="language-${lang}">${code}</code></pre>`
})
Expand Down

0 comments on commit 74e2af7

Please sign in to comment.