diff options
author | Hakim El Hattab | 2013-04-27 15:50:33 -0400 |
---|---|---|
committer | Hakim El Hattab | 2013-04-27 15:50:33 -0400 |
commit | a764c21cd11fb2f505ee76a9ca51b884ea774109 (patch) | |
tree | bf6985fc6293d772bfac71bf531eda4098654c5f /README.md | |
parent | 07d0ed8ba6d94b67f138ecd9d29e0dea62659a64 (diff) |
add support for data-trim attribute on code elements (closes #419)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <section> - <pre><code> + <pre><code data-trim> (def lazy-fib (concat [0 1] |