docs: update demo code style

pull/77/merge
tangjinzhou 2018-06-25 10:17:57 +08:00
parent fbaa7ad028
commit b0d1c71c32
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export default {
const cnHtml = marked(cn[1].trim())
const usHtml = marked(us[1].trim())
const sourceCode = this.code.replace(cn[0], '').replace(us[0], '').trim()
const codeHtml = marked('````jsx\n' + sourceCode + '````')
const codeHtml = marked('````html\n' + sourceCode + '````')
return {
codeHtml,
cnHtml,