hexo-caniuse
Install
Install using npm.
$ npm install hexo-caniuse --save
Install using yarn.
$ yarn add hexo-caniuse
Usage
Create The CanIUse Embed with following syntax:
{% caniuse feature periods|current %}
How to get arguments from caniuse embed
This is something generated by caniuse
:
Can I Use css-variables? Data on support for the css-variables feature across the major browsers from caniuse.com.
You can extract required arguments:
Field | Value |
---|---|
data-feature | Choose caniuse Feature feature |
data-periods | Select the Browser Versions to Display |
License
MIT