Add syntax highlighting to notes
[disinclined.org.git] / _layouts / default.html
index 33cdced..a1b7a75 100644 (file)
@@ -3,7 +3,7 @@
 
   {%- include head.html -%}
 
-  <body>
+  <body onload="return typeof highlight == 'function' ? highlight() : true">
 
     <main>
       <div id="wrapper">