11 lines
230 B
JavaScript
11 lines
230 B
JavaScript
|
const markdownInclude = require('markdown-include')
|
||
|
const file = require('./file')
|
||
|
|
||
|
const markdown = {}
|
||
|
|
||
|
markdown.compile = function (filepath) {
|
||
|
markdownInclude.compileFiles(file.resolve(filepath))
|
||
|
}
|
||
|
|
||
|
module.exports = markdown
|