Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hakimel/reveal.js into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Jan 11, 2016
2 parents 19a69b2 3c46733 commit fba12ab
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 596,6 @@ Reveal.addEventListener( 'fragmenthidden', function( event ) {

### Code syntax highlighting

<<<<<<< HEAD
By default, Reveal is configured with [highlight.js](https://highlightjs.org/) 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.
=======
By default, Reveal is configured with [highlight.js](https://highlightjs.org/) 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 will be escaped by default. To avoid this, for example if you are using `<mark>` to call out a line of code, add the `data-noescape` attribute to the `<code>` element.

```html
Expand Down

0 comments on commit fba12ab

Please sign in to comment.