Open wedens opened 10 years ago
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.
class="ruby"
code
found #20 issue can be closed
GFM has support for specifying language:
and it renders it to
How can i implement this behaviour with pegdown? What I want is this
class="ruby"
insidecode
tag.