pengzhanbo 1bf2c82d01 fix: 优化皮肤主题交互
1. 修复caniuse插件在hash更新时重新渲染的问题;
2. 优化皮肤主题样式;
3.修复归档排序问题
2022-05-14 20:31:54 +08:00
..
2022-05-14 20:31:54 +08:00
2022-04-06 17:30:41 +08:00
2022-04-05 12:59:00 +08:00
2022-05-12 22:28:42 +08:00
2022-04-05 11:50:15 +08:00
2022-04-05 11:50:15 +08:00
2022-04-05 11:50:15 +08:00

@vuepress-plume/vuepress-plugin-caniuse

为 markdown 添加 can-i-use 容器支持

Install

yarn add @vuepress-plume/vuepress-plugin-caniuse

Usage

// .vuepress/config.js
const { caniusePlugin } = require('@vuepress-plume/vuepress-plugin-caniuse')
module.exports = {
  //...
  plugins: [
    caniusePlugin({ mode: 'embed' })
  ]
  // ...
}

options

  • mode: 渲染模式,默认值 embed
    • embed: 交互式嵌入,通过 iframe 嵌入可交互的 can-i-use
    • image: 仅添加 图片
::: caniuse css-matches-pseudo
:::

效果

css-dir-pseudo