-
Notifications
You must be signed in to change notification settings - Fork 923
Closed
Labels
Description
Bug report
Description
Danger and warning custom Markdown containers have the same title - WARNING
Steps to reproduce
- Create two custom markdown containers:
::: warning
Test warning
:::
::: danger
Test danger
:::
- Check them in the browser
Expected behavior
Warning container should have WARNING title
Danger container should have DANGER title
Screenshots
Environment info
- Browser: Firefox 88.0.1 (64-bit)
- Output of
vuepress info
:
System:
OS: Linux 5.8 Ubuntu 20.04.2 LTS (Focal Fossa)
CPU: (4) x64 Intel(R) Core(TM) i5-2310 CPU @ 2.90GHz
Memory: 710.05 MB / 11.61 GB
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 14.17.0
Yarn: 1.22.10
npm: 7.15.0
Utilities:
Git: 2.25.1 - /usr/bin/git
Browsers:
Firefox: 88.0.1
npmPackages:
@vuepress/bundler-vite: 2.0.0-beta.15
@vuepress/bundler-webpack: 2.0.0-beta.15
@vuepress/cli: 2.0.0-beta.15
@vuepress/client: 2.0.0-beta.15
@vuepress/core: 2.0.0-beta.15
@vuepress/markdown: 2.0.0-beta.15
@vuepress/plugin-active-header-links: 2.0.0-beta.15
@vuepress/plugin-back-to-top: 2.0.0-beta.15
@vuepress/plugin-container: 2.0.0-beta.15
@vuepress/plugin-debug: Not Found
@vuepress/plugin-docsearch: Not Found
@vuepress/plugin-git: 2.0.0-beta.15
@vuepress/plugin-google-analytics: Not Found
@vuepress/plugin-medium-zoom: 2.0.0-beta.15
@vuepress/plugin-nprogress: 2.0.0-beta.15
@vuepress/plugin-palette: 2.0.0-beta.15
@vuepress/plugin-prismjs: 2.0.0-beta.15
@vuepress/plugin-pwa: Not Found
@vuepress/plugin-pwa-popup: Not Found
@vuepress/plugin-register-components: Not Found
@vuepress/plugin-search: Not Found
@vuepress/plugin-shiki: Not Found
@vuepress/plugin-theme-data: 2.0.0-beta.15
@vuepress/plugin-toc: Not Found
@vuepress/shared: 2.0.0-beta.7
@vuepress/theme-default: 2.0.0-beta.15
@vuepress/theme-vue: Not Found
@vuepress/utils: 2.0.0-beta.15
vue: 3.0.11
vue-loader: 16.2.0
vue-router: 4.0.8
vuepress: ^2.0.0-beta.15 => 2.0.0-beta.15
vuepress-vite: ^2.0.0-beta.15 => 2.0.0-beta.15