Created
February 13, 2014 10:12
-
-
Save vvakame/8972728 to your computer and use it in GitHub Desktop.
reviewで--target markdown でcmdブロック記法が使えなかったので
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
require 'pp' | |
module ReVIEW | |
class MARKDOWNBuilder | |
def cmd(lines) | |
puts "```" | |
lines.each do |line| | |
puts detab(line) | |
end | |
puts "```" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment