summaryrefslogtreecommitdiff
path: root/js/stmd.js
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2014-09-05 08:09:31 +0100
committerMathias Bynens <mathias@qiwi.be>2014-09-05 08:09:31 +0100
commit14071dfaffc734d3be990a1aaba6da5149eb6df5 (patch)
treec9102b54bb98444d01bbf2511de0188718f5d24e /js/stmd.js
parent0a0cdcf1df12ef6a0dcdaf5d37894438aae50bc4 (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 'js/stmd.js')
0 files changed, 0 insertions, 0 deletions