Update Gitlab Markdown renderer to use GFM
This commit is contained in:
parent
6873d07f62
commit
24ec186a83
2 changed files with 51 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue