summaryrefslogtreecommitdiffstats
path: root/utils/textgeneration.go
diff options
context:
space:
mode:
authorPat Lathem <patl@codero.com>2015-11-03 10:43:31 -0600
committerPat Lathem <patl@codero.com>2015-11-03 10:43:31 -0600
commitf7a33671d34f1cb61f472bd8d9292f1bab22d5d7 (patch)
tree8b85e09d26855d4395eb4168a83501644637b4db /utils/textgeneration.go
parent9f3dcbaa87be8693249892e74580af1a7f7f2140 (diff)
downloadchat-f7a33671d34f1cb61f472bd8d9292f1bab22d5d7.tar.gz
chat-f7a33671d34f1cb61f472bd8d9292f1bab22d5d7.tar.bz2
chat-f7a33671d34f1cb61f472bd8d9292f1bab22d5d7.zip
Some more markdown tests. Emoji in a code block, and italics/bold not at the beginning of the sentence
Diffstat (limited to 'utils/textgeneration.go')
-rw-r--r--utils/textgeneration.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/utils/textgeneration.go b/utils/textgeneration.go
index 2497d7dd4..2b722d605 100644
--- a/utils/textgeneration.go
+++ b/utils/textgeneration.go
@@ -17,12 +17,17 @@ const (
var FUZZY_STRINGS_POSTS = []string{
`**[1] - [Markdown Tests]**
_italics_
+more _italics_
**bold**
+more **bold**
**_bold-italic_**
+more **_bold-italic_*8
~~strikethrough~~
+more ~~strikethrough~~
` + "```" + `
multi-line code block<enter here>
multi-line code block
+emoji that should not render in code block: :ice_cream:
` + "```" + `
` + "`monospace`" + `
[Link to Mattermost](www.mattermost.com)
@@ -30,9 +35,15 @@ Inline Image with link, alt text, and hover text: ![Build Status](https://travis
Line:
***
+`,
+` **[2] - **[More Markdown Tests]**
> i am a blockquote!
+> i am a 2nd multiline
+> quote.
+i am text right after a multiline quote, but not in the quote
+
* list item
* another list item
* indented list item
@@ -40,13 +51,25 @@ Line:
1. numbered list, item number 1
2. item number two
+`,
+
+` **[3]** - **[More Markdown Tests]**
+
Table
+
| Left-Aligned | Center Aligned | Right Aligned |
| :------------ |:---------------:| -----:|
| Left column 1 | this text | $100 |
| Left column 2 | is | $10 |
| Left column 3 | centered | $1 |
+Ugly table
+
+Markdown | Less | Pretty
+--- | --- | ---
+*Still* | ~~renders~~ | **nicely**
+1 | 2 | 3
+
# Large heading
## Smaller heading
### Even smaller heading