diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/blog/md/Bold.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/blog/md/Bold.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/blog/md/Bold.kt b/src/main/kotlin/moe/nea/blog/md/Bold.kt new file mode 100644 index 0000000..aa46622 --- /dev/null +++ b/src/main/kotlin/moe/nea/blog/md/Bold.kt @@ -0,0 +1,11 @@ +package moe.nea.blog.md + +import java.io.PrintStream + +data class Bold(val inner: MarkdownFormat) : MarkdownFormat { + override fun debugFormat(printStream: PrintStream) { + printStream.print("<b>") + inner.debugFormat(printStream) + printStream.print("</b>") + } +}
\ No newline at end of file |