Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 945ed36e authored by Scott Main's avatar Scott Main
Browse files

docs: add the ability to exclude PRE elements from being prettified

by adding the class "no-pretty-print" (needs to hyphenate 'prettyprint',
otherwise the prettify script will parse "no-prettyprint" the same as
"prettyprint")
parent 3556305e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ addLoadEvent( function() {
} );

addLoadEvent( function() {
  $("pre").addClass("prettyprint");
  $("pre:not(.no-pretty-print)").addClass("prettyprint");
  prettyPrint();
} );