You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
GitHub uses classes to identify language, so e.g.
<pre><code class="ruby">
def foo
puts "bar"
end
</code></pre>
Is it possible to add support to it somehow? Or there is a way to configure
Prettify to detect language from this structure?
Original issue reported on code.google.com by hrgys...@gmail.com on 13 Jul 2013 at 12:14
The text was updated successfully, but these errors were encountered:
So it supports language hints as class="lang-ruby" or class="language-ruby".
When it's not possible to specify classes (e.g. when converting markdown to html), you can use a preceding HTML comment or XML processing instruction to set language hint
Original issue reported on code.google.com by
hrgys...@gmail.com
on 13 Jul 2013 at 12:14The text was updated successfully, but these errors were encountered: