commonmark.rb: separated Renderer class.