blob: f715e53bc9192da4a5b0db703160b0dd9aad67b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package moe.nea.blog.md
import moe.nea.blog.util.indent
import java.io.PrintStream
data class Paragraph(val format: MarkdownFormat) : MarkdownBlock {
override fun debugFormat(indent: Int, printStream: PrintStream) {
printStream.indent(indent)
printStream.println("<p>")
printStream.indent(indent)
format.debugFormat(printStream)
printStream.println()
printStream.indent(indent)
printStream.println("</p>")
}
}
|