to define slides and then
access the page with action=reveal
*/
Markup('section','fulltext','/\(:section:\)/e',"Keep('')");
Markup('sectionend','fulltext','/\(:sectionend:\)/e',"Keep('')");
SDV($HandleActions['reveal'],'HandleSlides');
SDV($SlideShowFmt, '
reveal.js - Barebones
$Slide
');
function HandleSlides($pagename, $auth = 'read') {
global $SlideShowFmt,$FmtV,$ScriptUrl,$Group,$Name;
$page = RetrieveAuthPage($pagename, $auth, false, READPAGE_CURRENT);
if (!$page) Abort("?cannot read $pagename");
$FmtV['$Slide'] = MarkupToHTML($pagename, $page['text']);
FmtPageName($SlideShowFmt, $pagename);
PrintFmt($pagename,$SlideShowFmt);
exit();
}
?>