mirror of https://github.com/iptv-org/iptv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
228 B
TypeScript
14 lines
228 B
TypeScript
1 year ago
|
import markdownInclude from 'markdown-include'
|
||
|
|
||
|
export class Markdown {
|
||
|
filepath: string
|
||
|
|
||
|
constructor(filepath: string) {
|
||
|
this.filepath = filepath
|
||
|
}
|
||
|
|
||
|
compile() {
|
||
|
markdownInclude.compileFiles(this.filepath)
|
||
|
}
|
||
|
}
|