summaryrefslogtreecommitdiffstats
path: root/webapp/utils/syntax_hightlighting.jsx
Commit message (Collapse)AuthorAgeFilesLines
* Updating ESLint (#4085)Christopher Speller2016-09-231-1/+1
|
* PLT-1752/PLT-3567/PLT-3998 Highlighting links in search, unit tests for ↵Harrison Healey2016-08-291-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | autolinking (#3865) * Added highlighting to links when their URL includes the search term * Decoupling UserStore from react-router to allow for unit tests involving it * PLT-3998 Added SiteURL as an option to be passed into the text formatting code * Removed reference to PreferenceStore and window from TextFormatting * Refactored TextFormatting to remove remaining browser-only code * Updated ChannelHeader and MessageWrapper to match the changes to TextFormatting * Increased max listeners for Preference and Emoji stores * PLT-3832 Added automated unit tests for autolinking * PLT-3567 Rerender posts when mention keywords change * Updated RHS and search to match the changes to TextFormatting * Broke TextFormatting's dependency on the UserStore
* Reorganized syntax highlighting code and added search term highlighting for ↵Harrison Healey2016-06-011-65/+18
| | | | code blocks with syntax highlighting (#3191)
* PLT-1626/PLT-1424/PLT-1473/PLT-1483 Improved search highlighting (#3171)Harrison Healey2016-05-311-2/+7
| | | | | | | | | | | | | | | | * PLT-1626 Stopped breaking up hyphenated hashtags when highlighting search terms * Made hashtag search highlighting case independent * PLT-1424 Improved search highlighting when searching for CJK characters * PLT-1473 Added search term highlighting to single-line code blocks * PLT-1473 Added search term highlighting to code blocks that don't use syntax highlighting * PLT-1483 Added proper highlighting of at mentions * Fixing formatting
* PLT-2619/PLT-2661 Removed line numbers from markdown code blocks (#2795)Harrison Healey2016-04-251-28/+39
| | | | | | * Changed .editorconfig to indent CSS files using spaces * Removed line numbers from markdown code blocks and made them wrap when no language is specified
* Created component CodePreviewRodrigo Corsi2016-03-171-0/+197