diff options
author | Linnea Gräf <nea@nea.moe> | 2024-03-24 14:35:37 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-03-24 14:35:37 +0100 |
commit | c57016dc5a1f502b637c2f77bcf724165387ef83 (patch) | |
tree | 40f82e94e0f3229d081860d893a0433244bcba4c /src/main/kotlin/moe/nea/blog/util/Indent.kt | |
download | blog-infra-c57016dc5a1f502b637c2f77bcf724165387ef83.tar.gz blog-infra-c57016dc5a1f502b637c2f77bcf724165387ef83.tar.bz2 blog-infra-c57016dc5a1f502b637c2f77bcf724165387ef83.zip |
Add markdown parser
Diffstat (limited to 'src/main/kotlin/moe/nea/blog/util/Indent.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/blog/util/Indent.kt | 5 |
1 files changed, 5 insertions, 0 deletions
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 |