v4.11.0
Features
Dark Theme
Now you can use cssVariables
option to configure site style, check out the docs for the css variables used by the default theme, we also shipped another set of css variables as dark
theme, you can switch to it by:
new Docute({
theme: 'dark'
})
Check out the theme option in docs.
Layout
Docute now uses the wide
layout by default:
There're also narrow
layout:
And left
layout:
Adding Vue Mixin in Markdown
<button v-on:click="count++">{{ count }}</button> people love Docute.
```js {mixin:true}
{
data() {
return {
count: 1000
}
}
}
```