2022-01-14 23:57:03 +03:00
|
|
|
const markdownInclude = require('markdown-include')
|
|
|
|
|
const file = require('./file')
|
|
|
|
|
|
|
|
|
|
const markdown = {}
|
|
|
|
|
|
|
|
|
|
markdown.compile = function (filepath) {
|
|
|
|
|
markdownInclude.compileFiles(file.resolve(filepath))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module.exports = markdown
|