6/8/21Less than 1 minute
VuePress Theme Hope allows you to add share buttons to pages with [@vuepress/plugin-share][share].
vuepress-theme-hope bundles many VuePress plugins and adds support for more VuePress plugin.
By using vuepress-plugin-components, you can import and use some components in your Markdown files.
Available components:
- Badge: Colorful badge component
- CodePen: Embedded CodePen demo
- StackBlitz: Embedded StackBlitz demo
- SiteInfo: Display sites
- VPBanner: A banner component
- VPCard: A card component
To enable components, you should set plugins.components.components with an array of components names.
Tips
Media components are provided by @vuepress/plugin-media, which are enabled via plugins.media. The Share component is provided by @vuepress/plugin-share, which is enabled via plugins.share.
The theme adds tip, note, info, warning, danger and detail hint box.