Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add specs for syntax_highlight JS | Robert Speicher | 2015-09-10 | 1 | -1/+9 |
| | | | | | | | Also makes it work when given a parent element containing a `.js-syntax-highlight` element so for dynamically-added things like notes or Markdown previews, we can more accurately target just the element we care about. | ||||
* | Add syntax highlight scheme to notes rendered client-siders-highlight-new-notes | Robert Speicher | 2015-09-04 | 1 | -1/+4 |
| | |||||
* | Remove user_color_scheme_class | Robert Speicher | 2015-08-25 | 1 | -0/+9 |
Instead of rendering this value server-side, we use Javascript and Gon to apply the user's color scheme (or the default) to any syntax highlighted code blocks. This will make it easier to cache these blocks in the future because they're no longer state-dependent. |