diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/blog/md/BlogPost.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/blog/md/BlogPost.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/blog/md/BlogPost.kt b/src/main/kotlin/moe/nea/blog/md/BlogPost.kt new file mode 100644 index 0000000..25ec13f --- /dev/null +++ b/src/main/kotlin/moe/nea/blog/md/BlogPost.kt @@ -0,0 +1,11 @@ +package moe.nea.blog.md + +import java.io.File + + +fun main() { + val parser = MarkdownParser(File("data/test.md").readText()) + parser.addDefaultParsers() + val doc = parser.readDocument() + doc.debugFormat(System.out) +}
\ No newline at end of file |