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/util/Indent.kt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/main/kotlin/moe/nea/blog/util/Indent.kt (limited to 'src/main/kotlin/moe/nea/blog/util/Indent.kt') diff --git a/src/main/kotlin/moe/nea/blog/util/Indent.kt b/src/main/kotlin/moe/nea/blog/util/Indent.kt new file mode 100644 index 0000000..5a61a48 --- /dev/null +++ b/src/main/kotlin/moe/nea/blog/util/Indent.kt @@ -0,0 +1,5 @@ +package moe.nea.blog.util + +fun Appendable.indent(indent: Int) { + append(" ".repeat(indent)) +} \ No newline at end of file -- cgit