mirror of
https://github.com/iptv-org/iptv
synced 2026-11-04 00:04:36 -05:00
wip
This commit is contained in:
1 parent
31cd192a65
commit
4eeaab774a
103 files changed
+10755
-10738
No files matched your search
@@ -12,6 +12,12 @@ const markdownInclude = require('markdown-include')
|
||||
let cache = {}
|
||||
let helper = {}
|
||||
|
||||
helper.createDir = function(dir) {
|
||||
if (!fs.existsSync(dir)) {
|
||||
fs.mkdirSync(dir)
|
||||
}
|
||||
}
|
||||
|
||||
helper.compileMarkdown = function(filepath) {
|
||||
return markdownInclude.compileFiles(path.resolve(__dirname, filepath))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user