summaryrefslogtreecommitdiffstats
path: root/utils/textgeneration.go
diff options
context:
space:
mode:
authorFlorian Orben <florian.orben@gmail.com>2015-11-10 22:38:14 +0100
committerFlorian Orben <florian.orben@gmail.com>2015-11-10 22:38:19 +0100
commite3f3f4b10505cb4d506192837d95665ffc982513 (patch)
tree44712210cd9b13f2b5f81545e7e5317921f04baa /utils/textgeneration.go
parent5ed94c8f5823c7ae49d7b6f861a366af16ac94ea (diff)
downloadchat-e3f3f4b10505cb4d506192837d95665ffc982513.tar.gz
chat-e3f3f4b10505cb4d506192837d95665ffc982513.tar.bz2
chat-e3f3f4b10505cb4d506192837d95665ffc982513.zip
add textgeneration unit test
Diffstat (limited to 'utils/textgeneration.go')
-rw-r--r--utils/textgeneration.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/textgeneration.go b/utils/textgeneration.go
index fd0284a2e..0053b5279 100644
--- a/utils/textgeneration.go
+++ b/utils/textgeneration.go
@@ -81,6 +81,21 @@ Markdown | Less | Pretty
`,
+ ` **[4]** - **[More Markdown Tests]**
+# This is a heading
+
+I am a multiline
+text.
+
+#### I am a level four heading
+
+` + "```tex" + `
+f(x) = \int_{-\infty}^\infty
+ \hat f(\xi)\,e^{2 \pi i \xi x}
+ \,d\xi
+` + "```" + `
+* This was some tex code*
+`,
/* `**[2] [Username Linking Test]**
I saw @alice--and I said "Hi @alice!" then "What's up @alice?" and then @alice, was totally @alice; she just "@alice"'d me and walked on by. That's @alice...
@alice‽‽