vuepress-plugin-attribution-references
v2.1.0-alpha.3
Published
Vuepress plugin for attributions and attribution references
Downloads
31
Maintainers
Readme
vuepress-plugin-attribution-references
VuePress plugin for attribution referencing with markdown-it-attribution-references.
Installation
yarn add vuepress-plugin-attribution-references
or
module.exports = {
plugins: ["vuepress-plugin-attribution-references"],
};
or
npm install vuepress-plugin-attribution-references
Usage
Enable plugin in .vuepress/config.js
module.exports = {
plugins: ["attribution-references"],
};
or
module.exports = {
plugins: [["attribution-references", opts]],
};
The opts
object can contain:
| Name | Description | Default |
| --------- | ------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| wrap
| Wrap options. | see below |
| options
| markdown-it-attribution-references configuration options. | see here |
The wrap
object can contain:
| Name | Description | Default |
| -------- | -------------- | ----------- |
| enable
| Wrap figure. | true
|
| tag
| Wrapper tag. | "div"
|
| class
| Wrapper class. | "wrapper"
|
License
GPL-3.0 © StudyATHome Internationally