pegdown
pegdown copied to clipboard
language specification in fenced code blocks
GFM has support for specifying language:
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
and it renders it to
<pre><code class="ruby">require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
</code></pre>
How can i implement this behaviour with pegdown? What I want is this class="ruby" inside code tag.
found #20 issue can be closed