iptv/scripts/core/markdown.js

11 lines
230 B
JavaScript
Raw Normal View History

2021-12-12 05:10:18 +01:00
const markdownInclude = require('markdown-include')
const file = require('./file')
const markdown = {}
markdown.compile = function (filepath) {
markdownInclude.compileFiles(file.resolve(filepath))
}
module.exports = markdown