OSDN Git Service

Use Gitlab Markdown for Markdown files and Gollum to render the rest.
authorDan Knox <dknox@threedotloft.com>
Thu, 14 Mar 2013 06:31:08 +0000 (23:31 -0700)
committerDan Knox <dknox@threedotloft.com>
Thu, 14 Mar 2013 06:31:08 +0000 (23:31 -0700)
commit7665b1de7eed4addd7b94786c84e6674710e6377
tree289d9115420059d0afe0bba968d1840cc642cd31
parentf0aa54e0fbce27600aa02a1ee5465e2ab5c18ccc
Use Gitlab Markdown for Markdown files and Gollum to render the rest.

This commit enables the usage of the Gitlab Markdown post processing
on all Markdown formatted files. For file types that do not contain
Markdown, it defaults to the Gollum native renderer to process the
content.
app/helpers/gitlab_markdown_helper.rb
app/views/wikis/show.html.haml
spec/helpers/gitlab_markdown_helper_spec.rb