feat: add github-markdown-css for md page
This commit is contained in:
parent
0757f36f07
commit
af0c45270a
|
|
@ -3,19 +3,19 @@ import { Menu } from 'd2/utils/menu.js'
|
|||
export const demoMenus = new Menu('组件')
|
||||
.icon('icon-park-outline:components')
|
||||
.add(
|
||||
new Menu('滚动容器')
|
||||
new Menu('滚动')
|
||||
.scope('/dashboard/demo/component/scroll')
|
||||
.icon('icon-park-outline:move')
|
||||
.add(new Menu('基础').url('/base'))
|
||||
)
|
||||
.add(
|
||||
new Menu('svg 图标')
|
||||
new Menu('SVG')
|
||||
.icon('icon-park-outline:pic-one')
|
||||
.scope('/dashboard/demo/component/svg')
|
||||
.add(new Menu('基础').url('/base'))
|
||||
)
|
||||
.add(
|
||||
new Menu('断点组件')
|
||||
new Menu('断点')
|
||||
.icon('icon-park-outline:distribute-horizontally')
|
||||
.scope('/dashboard/demo/component/break-point')
|
||||
.add(new Menu('基础').url('/base'))
|
||||
|
|
@ -23,7 +23,7 @@ export const demoMenus = new Menu('组件')
|
|||
.add(new Menu('slot').url('/slot'))
|
||||
)
|
||||
.add(
|
||||
new Menu('flex 布局')
|
||||
new Menu('Flex')
|
||||
.icon('icon-park-outline:carousel')
|
||||
.scope('/dashboard/demo/component/flex')
|
||||
.add(new Menu('display').url('/display'))
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@import './themes/index.scss';
|
||||
@import 'github-markdown-css';
|
||||
|
||||
@import './themes/index.scss';
|
||||
@import './themes/classic/config.css';
|
||||
|
||||
html, body, #app {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
# document / page 2
|
||||
|
||||
> render by markdown file
|
||||
|
||||
| A | B |
|
||||
| - | - |
|
||||
| a | b |
|
||||
|
|
@ -1864,6 +1864,11 @@
|
|||
"integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=",
|
||||
"dev": true
|
||||
},
|
||||
"github-markdown-css": {
|
||||
"version": "5.0.0",
|
||||
"resolved": "https://registry.npmmirror.com/github-markdown-css/download/github-markdown-css-5.0.0.tgz?cache=0&sync_timestamp=1634473559070&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fgithub-markdown-css%2Fdownload%2Fgithub-markdown-css-5.0.0.tgz",
|
||||
"integrity": "sha1-gplmknZDQm8KQ6q+6ZkaPtUyKA0="
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/glob/download/glob-7.2.0.tgz?cache=0&sync_timestamp=1632353796482&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fglob%2Fdownload%2Fglob-7.2.0.tgz",
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"classnames": "^2.3.1",
|
||||
"dayjs": "^1.10.6",
|
||||
"element-plus": "^1.1.0-beta.7",
|
||||
"github-markdown-css": "^5.0.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"nanoid": "^3.1.25",
|
||||
"overlayscrollbars": "^1.13.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue