Added workaround for github-markup issue with rendering markdown
This commit is contained in:
parent
ed899a2f4b
commit
0e524aaea1
3 changed files with 16 additions and 4 deletions
|
@ -32,7 +32,11 @@ module TreeHelper
|
|||
#
|
||||
# Returns boolean
|
||||
def markup?(filename)
|
||||
filename.end_with?(*%w(.mdown .md .markdown .textile .rdoc .org .creole
|
||||
.mediawiki .rst .asciidoc .pod))
|
||||
filename.end_with?(*%w(.textile .rdoc .org .creole
|
||||
.mediawiki .rst .asciidoc .pod))
|
||||
end
|
||||
|
||||
def gitlab_markdown?(filename)
|
||||
filename.end_with?(*%w(.mdown .md .markdown))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue