Skip to content

Commit

Permalink
fix: add missing language mark back (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
BuptStEve authored Nov 27, 2019
1 parent 0b521d3 commit 1482991
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vuepress-plugin-demo-code",
"version": "0.4.0",
"version": "0.4.1",
"description": "📝 Demo and code plugin for vuepress",
"main": "src/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/DemoAndCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div class="code-wrapper" ref="codeWrapper" :style="codeWrapperStyle">
<div
v-html="highlightCode"
:class="`language-${language}' extra-class`"
:class="`language-${language} extra-class`"
/>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/DemoAndCode.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ exports[`DemoAndCode should be rendered 1`] = `
style="max-height: 200px;"
>
<div
class="language-vue' extra-class"
class="language-vue extra-class"
>
<pre
class="language-vue"
Expand Down

0 comments on commit 1482991

Please sign in to comment.