Commit Graph
48 Commits
Author SHA1 Message Date
hmhealey dd3dc8c924 Fixed newlines being stripped from multiline code blocks 2015-11-20 16:58:11 -05:00
Christopher Speller 55b831e4e1 Upgrading client dependancies. Upgrading to babel 6. Moving to es6 package system. 2015-11-19 21:12:56 -05:00
Florian Orben 5ed94c8f58 fix indentation to use tabs 2015-11-10 22:38:19 +01:00
Florian Orben 14cff7588f Add latex support
Adds latex highlighting support via https://www.npmjs.com/package/katex
as requested in
https://mattermost.uservoice.com/forums/306457-general/suggestions/10160757-add-latex-support
2015-11-10 22:38:19 +01:00
Harrison Healey 32069345b5 Merge pull request #1345 from hmhealey/plt983
PLT-983 Fix _emphasizing_ markdown text when it's not the start of the post
2015-11-06 13:16:28 -05:00
hmhealey 0239239d29 Changed markdown text regex to not capture the final underscore on a word to better match the original behaviour 2015-11-06 12:55:14 -05:00
hmhealey 11d6644c53 Changed markdown text regex to capture whitespace preceeding an underscore 2015-11-06 12:06:20 -05:00
Christopher Speller 5fd8b56836 Fixing broken markdown images taking up too much space. Fixed unnessisary expantion of markdown images not in center channel. 2015-11-06 11:40:48 -05:00
hmhealey 431cb089ed Changed markdown lexer to ignore lists containing only one item 2015-11-05 16:49:43 -05:00
hmhealey f0578868ed Cleaned up Markedown Lexer for eslint 2015-11-05 16:19:53 -05:00
hmhealey fedfeb67aa Copied part of the marked lexer into markdown.jsx 2015-11-05 15:53:10 -05:00
hmhealey 9b218c1af1 Moved highlighting code out of markdown.jsx 2015-11-05 14:47:16 -05:00
Christopher Speller 8a3d2a7351 Merge pull request #1286 from hmhealey/plt973
PLT-973 Re-enabled Markdown tables
2015-11-04 08:09:52 -05:00
Christopher Speller b1a8cf6fc5 Fixing height of embeded images 2015-11-03 15:39:40 -05:00
hmhealey 83fe1edc7e Re-enabled Markdown tables 2015-11-03 15:34:45 -05:00
Florian Orben 3c8fd99425 use XML syntax highlighting if provided language is html 2015-10-29 17:26:34 +01:00
Florian Orben bad01d40a2 escape user input 2015-10-29 17:26:34 +01:00
Florian Orben 7424242284 Add java and ini language
Forgot to add those altough they are quite common
2015-10-29 17:26:34 +01:00
Florian Orben aeb0a08d07 fix markup if code is of unknown language 2015-10-29 17:26:34 +01:00
Florian Orben 1e4510be3b highlight code in markdown blocks 2015-10-29 17:26:34 +01:00
hmhealey 0356130ca6 Updated markdown regexes to better handle underscores and links 2015-10-28 14:31:41 -04:00
hmhealey 429e25864b Modified markdown lexer to not break up words written in snake_case 2015-10-28 14:31:41 -04:00
Christopher Speller c86df0f0c6 Revert "PLT-395: Add syntax highlighting to Markdown code blocks" 2015-10-28 13:09:39 -04:00
Girish S 9de0ceb229 auto-link mentions with user names having symbols
this also handles the case where user_name having '_'
2015-10-27 18:02:07 +05:30
Florian Orben 51032ae11d Add java and ini language
Forgot to add those altough they are quite common
2015-10-24 21:55:44 +02:00
Florian Orben 9fd9fb1722 fix markup if code is of unknown language 2015-10-24 21:55:44 +02:00
Florian Orben 113741243b highlight code in markdown blocks 2015-10-24 21:55:44 +02:00
hmhealey 25e018ece0 Changed markdown renderer to only parse emoticons twice 2015-10-22 09:47:28 -04:00
Pat Lathem fba89915ac Pass eslint tests 2015-10-21 15:02:23 -05:00
Pat Lathem 8eb2c0266c Missing semicolon 2015-10-21 14:52:19 -05:00
Pat Lathem 9dd7a5e01e Remove stray emoticons.jsx import 2015-10-21 14:44:22 -05:00
Pat Lathem 7e24890bd3 Add a call to doFormatText inside of the markdown paragraph handler 2015-10-21 14:39:33 -05:00
Florian Orben b8c80c6d95 Don't auto-add http:// to mailto: and ftp: markdown links 2015-10-14 21:44:09 +02:00
hmhealey 17d37816d4 Revert "Modified markdown lexer to not break up words written in snake_case"
This reverts commit 787d2ef7bc.
2015-10-13 14:36:58 -04:00
hmhealey 787d2ef7bc Modified markdown lexer to not break up words written in snake_case 2015-10-09 16:30:57 -04:00
Christopher Speller 806fd77ec9 Merge pull request #981 from mattermost/plt-517
PLT-517 Changing SpinPunch to Mattermost in copyright
2015-10-08 12:55:11 -04:00
=Corey Hulen e640bf7b6c Fixing issue with lastIndexOf 2015-10-08 09:34:49 -07:00
Christopher Speller b85b529373 Changing SpinPunch to Mattermost in copyright 2015-10-08 12:27:09 -04:00
=Corey Hulen d412144f88 Adding removing blank target for browser links 2015-10-08 09:14:13 -07:00
=Corey Hulen f548e0ffb9 PLT-567 auto join open channels 2015-10-07 17:13:55 -07:00
Joram Wilander 56f76502e3 Merge pull request #769 from hmhealey/plt334
PLT-334 Restricted markdown output to only appear on one line when in singleline mode
2015-09-24 08:14:25 -04:00
hmhealey 466f470ff1 Changed Markdown links to open in a new tab 2015-09-23 17:53:46 -04:00
hmhealey 511fcce553 Restricted markdown output to only appear on one line when in singleline mode 2015-09-23 17:42:57 -04:00
hmhealey 018b036e5d Added CSS classes to markdown headings, links, and tables 2015-09-23 09:37:48 -04:00
hmhealey 1afa1d37c7 Moved text formatting code to only occur inside of markdown text nodes 2015-09-22 14:30:50 -04:00
hmhealey a2e3446e37 Added theme class to markdown links 2015-09-21 11:46:29 -04:00
hmhealey 144a277a44 Cleaned up markdown formatting code and removed debug statements 2015-09-19 11:18:37 -04:00
hmhealey 2eb320f48a Changed markdown link parsing to automatically add an explicit protocol to urls 2015-09-19 10:39:55 -04:00