diff options
author | Mathias Bynens <mathias@qiwi.be> | 2014-09-05 08:09:31 +0100 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2014-09-05 08:09:31 +0100 |
commit | 14071dfaffc734d3be990a1aaba6da5149eb6df5 (patch) | |
tree | c9102b54bb98444d01bbf2511de0188718f5d24e /src | |
parent | 0a0cdcf1df12ef6a0dcdaf5d37894438aae50bc4 (diff) |
Make fenced code blocks add the `class`to `code` rather than `pre`
This matches the convention set out in the HTML Living Standard (http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-code-element) and makes existing syntax highlighting scripts recognize the programming language used.
Ref. http://talk.standardmarkdown.com/t/fenced-code-blocks-should-add-class-to-code-rather-than-pre-matching-the-html-best-practice/136
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions