Open basememara opened 9 years ago
Currently, Crayon outputs just <pre> tags around the code, but the HTML5 specs and W3C says computer code should be wrapped in <pre> AND <code> tags: http://www.w3.org/TR/html5/grouping-content.html#the-pre-element
<pre>
<code>
Issue #106 briefly mentioned this, but I was wondering if there is a way to achieve it at this point or any plans to correctly match the specs on this?
+1
Particularly as I am planning to use WP-API and may need to use Highlight.js if Crayon doesn't work outside of WP
Currently, Crayon outputs just
<pre>
tags around the code, but the HTML5 specs and W3C says computer code should be wrapped in<pre>
AND<code>
tags: http://www.w3.org/TR/html5/grouping-content.html#the-pre-elementIssue #106 briefly mentioned this, but I was wondering if there is a way to achieve it at this point or any plans to correctly match the specs on this?