Skip to content

Commit

Permalink
Fix in-app docs (#13953)
Browse files Browse the repository at this point in the history
* use kebab-case in wrapperComponent

* downgrade vite-plugin-md
  • Loading branch information
azrikahar committed Jun 17, 2022
1 parent dea0669 commit e48d9ae
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1,782 deletions.
2 changes: 1 addition & 1 deletion app/package.json
Expand Up @@ -108,7 +108,7 @@
"ts-jest": "27.1.3",
"typescript": "4.7.3",
"vite": "2.9.9",
"vite-plugin-md": "0.14.0",
"vite-plugin-md": "0.13.1",
"vue": "3.2.36",
"vue-i18n": "9.1.10",
"vue-router": "4.0.15",
Expand Down
2 changes: 1 addition & 1 deletion app/vite.config.js
Expand Up @@ -23,7 +23,7 @@ export default defineConfig({
include: [/\.vue$/, /\.md$/],
}),
md({
wrapperComponent: 'DocsWrapper',
wrapperComponent: 'docs-wrapper',
markdownItOptions: {
highlight(str, lang) {
if (lang && hljs.getLanguage(lang)) {
Expand Down

0 comments on commit e48d9ae

Please sign in to comment.