diff options
Diffstat (limited to 'utils/textgeneration.go')
-rw-r--r-- | utils/textgeneration.go | 60 |
1 files changed, 56 insertions, 4 deletions
diff --git a/utils/textgeneration.go b/utils/textgeneration.go index fd0284a2e..31b6517b8 100644 --- a/utils/textgeneration.go +++ b/utils/textgeneration.go @@ -81,6 +81,58 @@ 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* +`, + + `**[5]** - **[Markdown and automatic preview of content test]** + +## This should display a preview for the given vine url + +Some text *before* the link +And a smiley :) +https://vine.co/v/eDeVgbFrt9L + +Some more text here +and here +and even more here +`, + + `**[6]** - **[More markdown and automatic preview of content test]** + +## Only the first given url should render an "attachment" + +Lets also add a table here, because why not +| Left-Aligned | Center Aligned | Right Aligned | +| :------------ |:---------------:| -----:| +| Left column 1 | this text | $100 | +| Left column 2 | is | $10 | +| Left column 3 | centered | $1 | + +Wiki should render: +http://en.wikipedia.org/wiki/Foo +https://vine.co/v/eDeVgbFrt9L +`, + + `**[7] [Image Test]** + +## this *should* display an image + +http://37.media.tumblr.com/tumblr_mavsumGGAd1qboaw8o1_500.jpg +`, + /* `**[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‽‽ @@ -89,7 +141,7 @@ Markdown | Less | Pretty `**[3] [Mention Highlighting Test]** `,*/ - `**[4] [Emoji Display Test 1]** + `**[8] [Emoji Display Test 1]** :+1: :-1: :100: :1234: :8ball: :a: :ab: :abc: :abcd: :accept: :aerial_tramway: :airplane: :alarm_clock: :ambulance: :anchor: :angel: :anger: :angry: :anguished: :ant: :apple: :aquarius: :aries: :arrow_backward: :arrow_double_down: :arrow_double_up: :arrow_down: :arrow_down_small: :arrow_forward: :arrow_heading_down: @@ -124,7 +176,7 @@ Markdown | Less | Pretty :fork_and_knife: :fountain: :four: :four_leaf_clover: :fr: :free: :fried_shrimp: :fries: :frog: :frowning: :fu: :fuelpump: :full_moon: :full_moon_with_face: :game_die: :gb: :gem: :gemini: :ghost: :gift:`, - `**[5] [Emoji Display Test 2]** + `**[9] [Emoji Display Test 2]** :gift_heart: :girl: :globe_with_meridians: :goat: :goberserk: :godmode: :golf: :grapes: :green_apple: :green_book: :green_heart: :grey_exclamation: :grey_question: :grimacing: :grin: :grinning: :guardsman: :guitar: :gun: :haircut: :hamburger: :hammer: :hamster: :hand: :handbag: :hankey: :hash: :hatched_chick: :hatching_chick: :headphones: @@ -153,7 +205,7 @@ Markdown | Less | Pretty :person_with_blond_hair: :person_with_pouting_face: :phone: :pig: :pig2: :pig_nose: :pill: :pineapple: :pisces: :pizza: `, - `**[6] [Emoji Display Test 3]** + `**[10] [Emoji Display Test 3]** :plus1: :point_down: :point_left: :point_right: :point_up: :point_up_2: :police_car: :poodle: :poop: :post_office: :postal_horn: :postbox: :potable_water: :pouch: :poultry_leg: :pound: :pouting_cat: :pray: :princess: :punch: :purple_heart: :purse: :pushpin: :put_litter_in_its_place: :question: :rabbit: :rabbit2: :racehorse: :radio: :radio_button: @@ -186,7 +238,7 @@ Markdown | Less | Pretty Unnamed: :u5272: :u5408: :u55b6: :u6307: :u6708: :u6709: :u6e80: :u7121: :u7533: :u7981: :u7a7a: `, - `**[7] [Auto Linking]** + `**[11] [Auto Linking]** #### should be turned into links: http://example.com https://example.com |