blob: fab23068cd5330a87cc532e2b441780895084b30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package moe.nea.blog.md
import moe.nea.blog.util.indent
import java.io.PrintStream
data class Header(val level: Int, val text: String) : MarkdownBlock {
override fun debugFormat(indent: Int, printStream: PrintStream) {
printStream.indent(indent)
printStream.println("header level=$level: $text")
}
}
|