Skip to content

Releases: QingWei-Li/vue-markdown-loader

2.0.0

27 Jul 16:20
Compare
Choose a tag to compare

Breaking change

  • Automatic extract script and style tags from html token content #26
# Test

<div class="test">test</div>

```html
<style scoped>
  .test {
    background-color: green;
  }
</style>

<div class="test">test</div>
`` `

to be compiled

<style>
   .test[v-xxxx] {
        background-color: green;
    }
</style>

<h1>Test</h1>

<pre><code>
<style scoped>
  .test {
    background-color: green;
  }
</style>

<div class="test">test</div>
</code></pre>

1.0.0

27 Jul 16:15
Compare
Choose a tag to compare

Breaking change

  • Cache in memory, to avoid repeated compilation
  • Support the use of relative path to import files