Skip to main content

Others

Less than 1 minute

GFM

If your docs both serve on documentation site and directly on GitHub, we provide a gfm option to align your Markdown behavior with GitHub.

Note

For full GFM syntax, see GFMopen in new window.

We are not 100% supporting it to be honestly, we only supply its syntax including linkify, breaks, footnote, task list, code highlight, image mark, mermaid, mathjax and so on.

Some of the behavior might be different, for example to support Vue syntax, we are not disallowing <script> tags. But in most situation, the behavior should be same.

Besides, custom container is enabled by default in @vuepress/theme-default and vuepress-theme-hope, but not available in GitHub Markdown preview.

v-pre

Since VuePress2 has removed V1's v-pre container in core, the plugin provides vPre option to support it. That is, you can use any Mustache syntax in the container below.

{{ abc }}

::: v-pre

{{ abc }}

:::