File tree 7 files changed +16
-16
lines changed
7 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1
1
const { fs, path } = require ( '@vuepress/shared-utils' )
2
2
const AppContext = require ( '../../lib/prepare/AppContext' )
3
- const createMarkdown = require ( '../../../markdown/lib/ index' )
3
+ const createMarkdown = require ( '../../../markdown/index' )
4
4
5
5
function getAppContext ( ) {
6
6
return new AppContext ( '.' )
Original file line number Diff line number Diff line change 1
1
import { Md , getFragment } from './util'
2
2
import hoist from '../lib/hoist.js'
3
- import { dataReturnable } from '../lib/ index.js'
3
+ import { dataReturnable } from '../index.js'
4
4
5
5
const md = Md ( ) . set ( { html : true } )
6
6
const mdH = Md ( ) . set ( { html : true } ) . use ( hoist )
Original file line number Diff line number Diff line change 1
1
import { Md } from './util'
2
2
import link from '../lib/link.js'
3
- import { dataReturnable } from '../lib/ index.js'
3
+ import { dataReturnable } from '../index.js'
4
4
5
5
const mdL = Md ( ) . use ( link , {
6
6
target : '_blank' ,
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
const Config = require ( 'markdown-it-chain' )
8
- const highlight = require ( './highlight' )
9
- const highlightLinesPlugin = require ( './highlightLines' )
10
- const preWrapperPlugin = require ( './preWrapper' )
11
- const lineNumbersPlugin = require ( './lineNumbers' )
12
- const componentPlugin = require ( './component' )
13
- const hoistScriptStylePlugin = require ( './hoist' )
14
- const convertRouterLinkPlugin = require ( './link' )
15
- const containersPlugin = require ( './containers' )
16
- const markdownSlotsContainersPlugin = require ( './markdownSlotsContainers' )
17
- const snippetPlugin = require ( './snippet' )
8
+ const highlight = require ( './lib/ highlight' )
9
+ const highlightLinesPlugin = require ( './lib/ highlightLines' )
10
+ const preWrapperPlugin = require ( './lib/ preWrapper' )
11
+ const lineNumbersPlugin = require ( './lib/ lineNumbers' )
12
+ const componentPlugin = require ( './lib/ component' )
13
+ const hoistScriptStylePlugin = require ( './lib/ hoist' )
14
+ const convertRouterLinkPlugin = require ( './lib/ link' )
15
+ const containersPlugin = require ( './lib/ containers' )
16
+ const markdownSlotsContainersPlugin = require ( './lib/ markdownSlotsContainers' )
17
+ const snippetPlugin = require ( './lib/ snippet' )
18
18
const emojiPlugin = require ( 'markdown-it-emoji' )
19
19
const anchorPlugin = require ( 'markdown-it-anchor' )
20
20
const tocPlugin = require ( 'markdown-it-table-of-contents' )
Original file line number Diff line number Diff line change 2
2
"name" : " @vuepress/markdown" ,
3
3
"version" : " 1.0.0-alpha.20" ,
4
4
"description" : " markdown for vuepress" ,
5
- "main" : " lib/ index.js" ,
5
+ "main" : " index.js" ,
6
6
"publishConfig" : {
7
7
"access" : " public"
8
8
},
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ module.exports = {
225
225
226
226
** Also see:**
227
227
228
- - [ Internal markdown-it plugins in VuePress] ( https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/markdown/lib/ index.js )
228
+ - [ Internal markdown-it plugins in VuePress] ( https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/markdown/index.js )
229
229
- [ Config plugins] ( https://github.com/neutrinojs/webpack-chain#config-plugins )
230
230
231
231
## enhanceAppFiles
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ module.exports = {
229
229
230
230
** 参考:**
231
231
232
- - [ VuePress 的内置 markdown-it 插件] ( https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/markdown/lib/ index.js )
232
+ - [ VuePress 的内置 markdown-it 插件] ( https://github.com/vuejs/vuepress/blob/master/packages/%40vuepress/markdown/index.js )
233
233
- [ 配置插件] ( https://github.com/neutrinojs/webpack-chain#config-plugins )
234
234
235
235
## enhanceAppFiles
You can’t perform that action at this time.
0 commit comments