From a764c21cd11fb2f505ee76a9ca51b884ea774109 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 27 Apr 2013 15:50:33 -0400 Subject: add support for data-trim attribute on code elements (closes #419) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 93e837c..fff69c0 100644 --- a/README.md +++ b/README.md @@ -332,11 +332,11 @@ Reveal.addEventListener( 'fragmenthidden', function( event ) { ### Code syntax highlighting -By default, Reveal is configured with [highlight.js](http://softwaremaniacs.org/soft/highlight/en/) for code syntax highlighting. Below is an example with clojure code that will be syntax highlighted: +By default, Reveal is configured with [highlight.js](http://softwaremaniacs.org/soft/highlight/en/) for code syntax highlighting. Below is an example with clojure code that will be syntax highlighted. When the `data-trim` attribute is present surrounding whitespace is automatically removed. ```html
-

+	

 (def lazy-fib
   (concat
    [0 1]
-- 
cgit v1.2.3