diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-01-25 22:36:44 +0100 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-01-25 22:36:44 +0100 |
commit | 6292ddd1980cad80e0f8385929cb07767b604efb (patch) | |
tree | d36583c4c77917b97c4e5b8c57680ca885aa0fb0 /doc/markdown | |
parent | 08755f6410a0c13f1ec9d774b19c4928bac2c75b (diff) | |
download | gitlab-ce-6292ddd1980cad80e0f8385929cb07767b604efb.tar.gz |
Add references to the rouge gem library
[ci skip]
Diffstat (limited to 'doc/markdown')
-rw-r--r-- | doc/markdown/markdown.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/markdown/markdown.md b/doc/markdown/markdown.md index bc8e7d155e7..83c77742b19 100644 --- a/doc/markdown/markdown.md +++ b/doc/markdown/markdown.md @@ -88,6 +88,9 @@ GFM will autolink almost any URL you copy and paste into your text. ## Code and Syntax Highlighting +_GitLab uses the [rouge ruby library][rouge] for syntax highlighting. For a +list of supported languages visit the rouge website._ + Blocks of code are either fenced by lines with three back-ticks <code>```</code>, or are indented with four spaces. Only the fenced code blocks support syntax highlighting. ```no-highlight @@ -585,3 +588,5 @@ By including colons in the header row, you can align the text within that column - This document leveraged heavily from the [Markdown-Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet). - The [Markdown Syntax Guide](https://daringfireball.net/projects/markdown/syntax) at Daring Fireball is an excellent resource for a detailed explanation of standard markdown. - [Dillinger.io](http://dillinger.io) is a handy tool for testing standard markdown. + +[rouge]: http://rouge.jneen.net/ "Rouge website" |