vuepress-plugin-references

2.1.0-alpha.3 • Public • Published

vuepress-plugin-references

VuePress plugin for referencing images, tables, etc. with markdown-it-references.

Installation

yarn add vuepress-plugin-references

or

npm install vuepress-plugin-references

Usage

Enable plugin in .vuepress/config.js

module.exports = {
  plugins: ["references"],
};

or

module.exports = {
  plugins: ["vuepress-plugin-references"],
};

or

module.exports = {
  plugins: [["references", opts]],
};
<style> table { width: 100%;} td:first-child {width: 15%;} td:last-child {width: 45%;} </style>

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

License

GPL-3.0 © StudyATHome Internationally

/vuepress-plugin-references/

    Package Sidebar

    Install

    npm i vuepress-plugin-references

    Weekly Downloads

    18

    Version

    2.1.0-alpha.3

    License

    GPL-3.0

    Unpacked Size

    41.3 kB

    Total Files

    4

    Last publish

    Collaborators

    • alija