diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/blog/md/InlineParser.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/blog/md/InlineParser.kt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/blog/md/InlineParser.kt b/src/main/kotlin/moe/nea/blog/md/InlineParser.kt new file mode 100644 index 0000000..4b60963 --- /dev/null +++ b/src/main/kotlin/moe/nea/blog/md/InlineParser.kt @@ -0,0 +1,7 @@ +package moe.nea.blog.md + +interface InlineParser { + fun detect(lookback: MarkdownFormat, rest: String): Boolean + val specialSyntax: Set<Char> + fun parse(parser: MarkdownParser, text: String): Pair<MarkdownFormat, String> +}
\ No newline at end of file |