Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-10-28 01:51:15 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-10-28 01:51:15 +0300
commitc6bcba9ce93e75326bde811b622db53aa36508ef (patch)
tree67fc94efe399056e6636c83a42e5fbb09fbeb1fc /Rules
parent842318016d6d80d7f2ec600db24410bcdda47603 (diff)
Use Redcarpet instead of Kramdown, get Rouge syntax highlighting working for it.
Diffstat (limited to 'Rules')
-rw-r--r--Rules16
1 files changed, 12 insertions, 4 deletions
diff --git a/Rules b/Rules
index 4cd78c89..c10ac443 100644
--- a/Rules
+++ b/Rules
@@ -21,10 +21,18 @@ compile '/**/*.html' do
end
compile '/**/*.md' do
- filter :kramdown,
- input: 'GFM',
- syntax_highlighter: 'rouge',
- hard_wrap: false
+ filter :redcarpet,
+ renderer: HTML,
+ options: {
+ fenced_code_blocks: true,
+ footnotes: true,
+ lax_spacing: true,
+ no_intra_emphasis: true,
+ space_after_headers: true,
+ strikethrough: true,
+ superscript: true,
+ tables: true
+ }
layout '/default.*'