-
-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathmd.config.js
More file actions
21 lines (21 loc) · 615 Bytes
/
md.config.js
File metadata and controls
21 lines (21 loc) · 615 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* CLI md.config.js file example */
module.exports = {
// handleOutputPath: (currentPath) => {
// const newPath = 'x' + currentPath
// return newPath
// },
// handleOutputPath: (currentPath) => {
// const newPath = currentPath.replace(/fixtures/, 'fixtures-out')
// return newPath
// },
transforms: {
/* Match <!-- AUTO-GENERATED-CONTENT:START (transformOne) --> */
transformOne() {
return `This section was generated by the cli config md.config.js file`
},
functionName({options}) {
// console.log('Options in plugin', options)
return `xyz`
}
}
}