Skip to content

Releases: egoist/docute

v4.13.4

29 Mar 14:43
Compare
Choose a tag to compare

4.13.4 (2019-03-29)

Bug Fixes

  • ui: tweak header and docute-select height (82a62b4)

Features

  • ui: support dropdown menu (74e53ea)

v4.13.3

28 Mar 09:13
Compare
Choose a tag to compare

4.13.3 (2019-03-28)

Bug Fixes

  • remove unused css variables (e20b0de)
  • rename .markdown-body to .page-content (8fcccec)

v4.13.2

28 Mar 07:14
Compare
Choose a tag to compare

4.13.2 (2019-03-28)

Bug Fixes

  • ui: disable scrollbar when sidebar in open (3451ab2)

v4.13.1

27 Mar 09:34
Compare
Choose a tag to compare

4.13.1 (2019-03-27)

Bug Fixes

  • ui: twweak content link style (8fd43cd)

v4.13.0

25 Mar 17:01
Compare
Choose a tag to compare

4.13.0 (2019-03-25)

Features

  • set initial state and re-hydrate in prerender mode (1b02d0f)

v4.12.1

23 Mar 09:56
Compare
Choose a tag to compare

4.12.1 (2019-03-23)

Bug Fixes

v4.12.0

23 Mar 09:47
Compare
Choose a tag to compare

4.12.0 (2019-03-23)

Bug Fixes

Features

  • allow cssVariables option to be a function (13a7ab0), closes #206
  • make hooks processMarkdown, processHTML async (c069379)

v4.11.1

22 Mar 17:27
Compare
Choose a tag to compare

4.11.1 (2019-03-22)

Bug Fixes

v4.11.0

22 Mar 18:02
Compare
Choose a tag to compare

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:

屏幕快照 2019-03-23 上午1 57 27

There're also narrow layout:

屏幕快照 2019-03-23 上午1 57 54

And left layout:

屏幕快照 2019-03-23 上午1 58 07

Adding Vue Mixin in Markdown

<button v-on:click="count++">{{ count }}</button> people love Docute.

```js {mixin:true}
{
  data() {
    return {
      count: 1000
    }
  }
}
```

https://docute.org/guide/markdown-features#adding-vue-mixin

v4.10.0

02 Mar 07:43
Compare
Choose a tag to compare

4.10.0 (2019-03-02)

Features