vuepress-plugin-table-references
v2.1.0-alpha.3
Published
VuePress plugin for table references
Downloads
34
Maintainers
Readme
vuepress-plugin-table-references
VuePress plugin for table referencing with markdown-it-table-references.
Installation
yarn add vuepress-plugin-table-references
or
npm install vuepress-plugin-table-references
Usage
Enable plugin in .vuepress/config.js
module.exports = {
plugins: ["table-references"],
};
or
module.exports = {
plugins: ["vuepress-plugin-table-references"],
};
or
module.exports = {
plugins: [["table-references", opts]],
};
The opts
object can contain:
| Name | Description | Default |
| --------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| wrap
| Wrap options. | see below |
| options
| markdown-it-table-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"
|