From c57016dc5a1f502b637c2f77bcf724165387ef83 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 24 Mar 2024 14:35:37 +0100 Subject: Add markdown parser --- src/main/kotlin/moe/nea/blog/md/Italics.kt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/main/kotlin/moe/nea/blog/md/Italics.kt (limited to 'src/main/kotlin/moe/nea/blog/md/Italics.kt') diff --git a/src/main/kotlin/moe/nea/blog/md/Italics.kt b/src/main/kotlin/moe/nea/blog/md/Italics.kt new file mode 100644 index 0000000..47d8db2 --- /dev/null +++ b/src/main/kotlin/moe/nea/blog/md/Italics.kt @@ -0,0 +1,11 @@ +package moe.nea.blog.md + +import java.io.PrintStream + +data class Italics(val inner: MarkdownFormat) : MarkdownFormat { + override fun debugFormat(printStream: PrintStream) { + printStream.print("") + inner.debugFormat(printStream) + printStream.print("") + } +} \ No newline at end of file -- cgit