Enable Enhance
Besides Markdown syntaxes VuePress itself adds, vuepress-theme-hope
enables more syntax in Markdown via vuepress-plugin-md-enhance
Built-in Enhancements
VuePress comes with GitHub-style tables, Emoji, TOC, etc. are all available out of the box.
For detailed syntax, please see Built-in Markdown Enhance.
Enable Markdown Enhancement
The following options in the theme options will be passed to the plugin:
plugins.markdownHint
will be passed to@vuepress/plugin-markdown-hint
as a plugin optionplugins.markdownImage
will be passed to@vuepress/plugin-markdown-image
as a plugin optionplugins.markdownMath
will be passed to@vuepress/plugin-markdown-math
as a plugin optionplugins.mdEnhance
will be passed tovuepress-plugin-md-enhance
as a plugin option
So you can also read their documentation directly to see how to use them:
- @vuepress/plugin-markdown-hint docs
- @vuepress/plugin-markdown-image docs
- @vuepress/plugin-markdown-math docs
- vuepress-plugin-md-enhance Docs
plugins.mdEnhance
in theme options will be passed to the plugin as a plugin option. Visit plugin documentation
Tips
Don't worry about the size of your site. If you don't enable related features, the final code won't include code for these features.