Skip to content

Commit b0d1c71

Browse files
committed
docs: update demo code style
1 parent fbaa7ad commit b0d1c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/components/demoContainer.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default {
6565
const cnHtml = marked(cn[1].trim())
6666
const usHtml = marked(us[1].trim())
6767
const sourceCode = this.code.replace(cn[0], '').replace(us[0], '').trim()
68-
const codeHtml = marked('````jsx\n' + sourceCode + '````')
68+
const codeHtml = marked('````html\n' + sourceCode + '````')
6969
return {
7070
codeHtml,
7171
cnHtml,

0 commit comments

Comments
 (0)