summaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/blog/md/Word.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/blog/md/Word.kt')
-rw-r--r--src/main/kotlin/moe/nea/blog/md/Word.kt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/blog/md/Word.kt b/src/main/kotlin/moe/nea/blog/md/Word.kt
new file mode 100644
index 0000000..ff89af5
--- /dev/null
+++ b/src/main/kotlin/moe/nea/blog/md/Word.kt
@@ -0,0 +1,9 @@
+package moe.nea.blog.md
+
+import java.io.PrintStream
+
+data class Word(val text: String) : MarkdownFormat {
+ override fun debugFormat(printStream: PrintStream) {
+ printStream.print(text)
+ }
+} \ No newline at end of file