repo.or.cz
/
git-blog.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* Added lots of documentation to the README
[git-blog.git]
/
lib
/
git-blog
/
parser
/
markdown.rb
blob
553e2cf4810ce7997056b4f4807f7389bd69dd80
1
require 'maruku'
2
3
module GitBlog
4
module Parsers
5
module Markdown
6
def self.parse input
7
input.gsub!(/^(.*)\n=+(\n\s+)*\n/m, '')
8
::Maruku.new(input).to_html
9
end
10
end
11
end
12
end