summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/blog/md/LinePreProcessor.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-03-24 20:45:58 +0100
committerLinnea Gräf <nea@nea.moe>2024-03-24 20:45:58 +0100
commit9bacb15dae9dcf7eea34fee650c8025ca946fe47 (patch)
tree7b80be7da738a0a43eaeca1523e5d4e4faa221e9 /src/main/kotlin/moe/nea/blog/md/LinePreProcessor.kt
parent4f7a626cdda9beef3ac058427594b7295045a7e2 (diff)
downloadblog-infra-9bacb15dae9dcf7eea34fee650c8025ca946fe47.tar.gz
blog-infra-9bacb15dae9dcf7eea34fee650c8025ca946fe47.tar.bz2
blog-infra-9bacb15dae9dcf7eea34fee650c8025ca946fe47.zip
Add list parser
Diffstat (limited to 'src/main/kotlin/moe/nea/blog/md/LinePreProcessor.kt')
-rw-r--r--src/main/kotlin/moe/nea/blog/md/LinePreProcessor.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/blog/md/LinePreProcessor.kt b/src/main/kotlin/moe/nea/blog/md/LinePreProcessor.kt
new file mode 100644
index 0000000..cb9d81f
--- /dev/null
+++ b/src/main/kotlin/moe/nea/blog/md/LinePreProcessor.kt
@@ -0,0 +1,5 @@
+package moe.nea.blog.md
+
+interface LinePreProcessor {
+ fun preprocess(lineIndex: Int, line: String): String?
+}