vuepress-plugin-references
v2.1.0-alpha.3
Published
Vuepress plugin for (ordered) referencing (of images, tables, etc.).
Maintainers
Readme
vuepress-plugin-references
VuePress plugin for referencing images, tables, etc. with markdown-it-references.
Installation
yarn add vuepress-plugin-referencesor
npm install vuepress-plugin-referencesUsage
Enable plugin in .vuepress/config.js
module.exports = {
plugins: ["references"],
};or
module.exports = {
plugins: ["vuepress-plugin-references"],
};or
module.exports = {
plugins: [["references", opts]],
};The opts object can contain:
| Name | Description | Default |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| options | markdown-it-references configuration option. | see here |
| figures | vuepress-plugin-figure-references configuration option. | see here |
| tables | vuepress-plugin-table-references configuration option. | see here |
| attributions | vuepress-plugin-attribution-references configuration option. | see here |
