2.1.0-alpha.3 • Published 3 years ago

vuepress-plugin-attribution-references v2.1.0-alpha.3

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
3 years ago

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:

NameDescriptionDefault
wrapWrap options.see below
optionsmarkdown-it-attribution-references configuration options.see here

The wrap object can contain:

NameDescriptionDefault
enableWrap figure.true
tagWrapper tag."div"
classWrapper class."wrapper"

License

GPL-3.0 © StudyATHome Internationally