mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-16 03:50:03 -04:00
wip
This commit is contained in:
parent
d1e525ac07
commit
7d2745fff7
103 changed files with 10755 additions and 10738 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue