# HG changeset patch # User Yasutaka Higa # Date 1469520160 -32400 # Node ID 5565551314e9b0b4060078b559d2e10c06f6bfa7 # Parent 9fdaeaa8ba682f443f583f9040f06e54dbbc108f Highlight for backquoted word diff -r 9fdaeaa8ba68 -r 5565551314e9 scripts/prettify.css --- a/scripts/prettify.css Tue Dec 22 16:21:41 2015 +0900 +++ b/scripts/prettify.css Tue Jul 26 17:02:40 2016 +0900 @@ -1,6 +1,12 @@ /* CSS from google html5slides(https://code.google.com/p/html5slides/) */ +code { + display: inline-block; +} + pre > code { + display: block; + font-family: 'Droid Sans Mono', 'Courier New', monospace; font-size: 20px; diff -r 9fdaeaa8ba68 -r 5565551314e9 slides.html.erb --- a/slides.html.erb Tue Dec 22 16:21:41 2015 +0900 +++ b/slides.html.erb Tue Jul 26 17:02:40 2016 +0900 @@ -32,7 +32,6 @@ $('code').each(function(_, el) { if (!el.classList.contains('noprettyprint')) { el.classList.add('prettyprint'); - el.style.display = 'block'; } }); prettyPrint();