mirror of
https://github.com/iptv-org/iptv.git
synced 2024-09-06 00:02:24 +02:00
14 lines
228 B
TypeScript
14 lines
228 B
TypeScript
|
import markdownInclude from 'markdown-include'
|
||
|
|
||
|
export class Markdown {
|
||
|
filepath: string
|
||
|
|
||
|
constructor(filepath: string) {
|
||
|
this.filepath = filepath
|
||
|
}
|
||
|
|
||
|
compile() {
|
||
|
markdownInclude.compileFiles(this.filepath)
|
||
|
}
|
||
|
}
|