Enable Enhance

About 1 min

Besides Markdown syntaxes VuePress itself adds, vuepress-theme-hope enables more syntax in Markdown via vuepress-plugin-md-enhanceopen in new window plugin.

Built-in Enhancements

VuePress comes with GitHub-style tables, Emoji, TOC, code line numbers, specific line highlighting, etc. are all available out of the box.

For detailed syntax, please see Built-in Markdown Enhance.

Enable Markdown Enhancement

plugin.mdEnhance in theme options will be passed to the plugin as a plugin option. Visit plugin documentationopen in new window to see the usage.

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.

Enable All

You can set plugins.mdEnhance.enableAll to enable all features of the md-enhanceopen in new window plugin.

Warning

Please use this option ONLY for playing or testing.

As time grows, vuepress-plugin-md-enhance is becoming more powerful. It’s adding lots of syntax to Markdown parser and more code to output.

Enabling features you don’t need will increase dev and build time. (markdown-it has to check extra syntax)

Also, presentation feature will add a 700KB size chunk (mostly is reveal.js) to your output.

Please enable ONLY the feature you want to use.

Enable Specific Syntax

Specific syntax configuration items can be found in the corresponding instruction page or Theme Plugin Config.

Loading...