From f7a33671d34f1cb61f472bd8d9292f1bab22d5d7 Mon Sep 17 00:00:00 2001 From: Pat Lathem Date: Tue, 3 Nov 2015 10:43:31 -0600 Subject: Some more markdown tests. Emoji in a code block, and italics/bold not at the beginning of the sentence --- utils/textgeneration.go | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'utils/textgeneration.go') 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 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 -- cgit v1.2.3-1-g7c22