docsify: Breaking change on v4.8.*

This is my live website. Now it’s fine because I’ve fixed docsify’s version on 4.7.1. However, if I change to 4.8.* several issues occur:

  • The background custom color is ignored
  • The style of the button disappears
  • The sidebar links break

I’ve already compared my index.html with the latest template and it looks fine. I have no idea what causes that. Examples below.

4.7.1 (ok): screenshot 2018-11-02 at 17 20 19

4.8.0 (not ok): screenshot 2018-11-02 at 17 20 08

4.8.0 (broken sidebar): screenshot 2018-11-02 at 17 35 56

Thoughts?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 17 (7 by maintainers)

Commits related to this issue

Most upvoted comments

@timaschew , as of the latest version (4.9.4) what is the proper way to set background colour use a gradient?

It used to be like this

![color](linear-gradient(to left bottom, #F0FD37 0%, #ACF260 100%))

But then 4.8.0 broke it. As a workaround we could (and still can on 4.9.4) use:

<p><img data-origin="linear-gradient(to left bottom, #F0FD37 0%, #ACF260 100%)" alt="color"></p>

Do we still need to use that workaround? Or is there a markdown way to do it? I don’t see that feature listed in the official doc anymore.