forked from jan/psslides
Less now lives in <style> tags alongside the slide HTML, so there is one editor buffer and no separate stylesheet tab. - compile.ts extracts every <style> tag in the deck (global slide first, then each slide in order) into one project stylesheet, strips the raw tags from the markup so uncompiled Less never reaches the DOM, and compiles that source once per slide with :thisSlide resolving to the slide being compiled. - editor.ts is back to a single buffer; the CSS/LESS workers still highlight, validate and complete the Less inside the tag. - thumbnails render markup with style tags removed, exactly like the presentation does. |
||
|---|---|---|
| .. | ||
| slides | ||
| code-to-element.ts | ||
| dom-to-image.ts | ||
| editor.ts | ||
| main.ts | ||
| style.css | ||