![]() |
remarkjs in GetSimple - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Scripts & Components (http://get-simple.info/forums/forumdisplay.php?fid=11) +--- Thread: remarkjs in GetSimple (/showthread.php?tid=5592) |
remarkjs in GetSimple - datiswous - 2014-02-13 See http://remarkjs.com/ To use it in GS I used the following method: 1. Make a template file (see below for an example) 2. Make a component. 3. Use dynpages plugin to post component on page (so I can use more than one slideshow). 4. Specify template file in page. In the component I can write markdown. For example: Code: # The great building where I live PHP Code: <?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); }?> Example: http://www.wouterb.be/remark-test One problem though. In the first slide the slide properties are ignored and I will only see text. In other slides after it it will work as espected. Anyone knows what's going on, why it doesn't work as expected in the first slide? Anyway, I also just wanted to show my findings. Someone might be interested. Btw. this is not compatible with the markdown plugin activated. Edit: I'm actually testing with including flowtime.js, which seems easier to edit, because you can just use the ckeditor to edit the slide-content (every slide is a page). |