Replace highlight.js with rouge-fork rugments
I decided to create a fork of rouge as rouge lacks a HTML formatter with the required options such as wrapping a line with <span> tags. Furthermore I was not really convinced about the clarity of rouge's source code. Rugments 1.0.0beta3 for now only includes some basic linting and a new HTML formatter. Everything else should behave the same.
Showing
... | ... | @@ -265,3 +265,4 @@ end |
gem "newrelic_rpm" | ||
gem 'octokit', '3.7.0' | ||
gem "rugments" |
![app/assets/images/dark-scheme-preview.png](https://lab.nexedi.cn/kirr/gitlab-ce/-/raw/377ae460056bb2a4e5824c4f7a3bbcb481e3e38b/app/assets/images/dark-scheme-preview.png)
![app/assets/images/monokai-scheme-preview.png](https://lab.nexedi.cn/kirr/gitlab-ce/-/raw/377ae460056bb2a4e5824c4f7a3bbcb481e3e38b/app/assets/images/monokai-scheme-preview.png)
![app/assets/images/solarized-dark-scheme-preview.png](https://lab.nexedi.cn/kirr/gitlab-ce/-/raw/377ae460056bb2a4e5824c4f7a3bbcb481e3e38b/app/assets/images/solarized-dark-scheme-preview.png)
4.63 KB
![app/assets/images/white-scheme-preview.png](https://lab.nexedi.cn/kirr/gitlab-ce/-/raw/377ae460056bb2a4e5824c4f7a3bbcb481e3e38b/app/assets/images/white-scheme-preview.png)
This source diff could not be displayed because it is too large. You can view the blob instead.