Update Gitlab Markdown renderer to use GFM

This commit is contained in:
Riyad Preukschas 2012-08-02 02:29:15 +02:00
parent 6873d07f62
commit 24ec186a83
2 changed files with 51 additions and 0 deletions

View file

@ -16,4 +16,8 @@ class Redcarpet::Render::GitlabHTML < Redcarpet::Render::HTML
Pygments.highlight(code, :options => {:encoding => 'utf-8'})
end
end
def postprocess(full_document)
h.gfm(full_document)
end
end