iptv/scripts/core/markdown.js
2022-02-07 08:39:55 +03:00

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