adding sectionextended to support data-background

example (:sectionextended data-background='path/my_cool_background.jpg':)

note the simple quotes ' as " require escaping
master
Fabien Benetou 8 years ago committed by GitHub
parent 39d706a4b7
commit b496126327
  1. 1
      reveal.php

@ -18,6 +18,7 @@
Markup('section','fulltext','/\(:section:\)/e',"Keep('<section>')"); Markup('section','fulltext','/\(:section:\)/e',"Keep('<section>')");
Markup('sectionend','fulltext','/\(:sectionend:\)/e',"Keep('</section>')"); Markup('sectionend','fulltext','/\(:sectionend:\)/e',"Keep('</section>')");
Markup('sectionextended','fulltext','/\(:sectionextended (.*?):\)/e',"Keep('<section $1>')");
SDV($HandleActions['reveal'],'HandleRevealSlides'); SDV($HandleActions['reveal'],'HandleRevealSlides');

Loading…
Cancel
Save