class EnkiRender
Public Instance Methods
block_code(code, language)
click to toggle source
# File lib/enki/redcarpenter.rb, line 4 def block_code(code, language) <<-HTML <ac:structured-macro ac:name="code"> <ac:plain-text-body> <![CDATA[#{code}]]> </ac:plain-text-body> </ac:structured-macro> HTML end
table(header, body)
click to toggle source
# File lib/enki/redcarpenter.rb, line 14 def table(header, body) <<-HTML <table> <tbody> #{header} #{body} </tbody> </table> HTML end