Cleaver – 30-second slideshows for hackers
jdan.github.io
jdan.github.io
I made this in college because I would always make slides last minute before class presentations or talks at my school's CS club, and fiddling with google slides/powerpoint seemed like overkill. I hope you find it useful as I have over the years.
I've attempted to rewrite it 5 or 6 times based on whatever cool technology I was distracted with, but never merged anything upstream (Spectacle https://github.com/FormidableLabs/spectacle is already a wonderful React solution).
A couple other folks maintain cleaver now (they're great), but lemme know if you have any questions!
Dropbox Paper recently added a similar feature called Presentation mode. It treats --- as slide breaks and intelligently does font sizing of headers, recognizes headers as "soft slides", etc. It takes very little to no effort to go from doc to minimal presentation.
main.md:
blah
<<[another_file.md]
blah https://github.com/hakimel/reveal.js
IIRC, at the time you had to serve the presentation from a web server for the includes to work correctly (not sure if that's still the case). That combined with me needing to reuse slides and create sets led me down the path I did, but there are probably easier ways to do that now.I'm working on a project that needs something similar to this - embedded html presentations - but I'm faced with a problem I haven't found an easy solution to yet.
Markdown is great if there is just text or maybe only an image and text, but it falls down pretty hard with oddly shaped images or multiple images.
I'm considering making a js script to reformat things to look reasonable (e.g. Two column text + image with a tall image). Is there anything like this that exists currently?
http://lab.hakim.se/reveal-js/
(previous discussion: https://news.ycombinator.com/item?id=6450223)
https://github.com/sudodoki/reveal-cleaver-theme
I am unsure what the authoring experience for reveal.js is like in 2017, so perhaps it can already do this :)
EDIT: Looks like they do support markdown. https://github.com/hakimel/reveal.js#markdown
Nicely done though.
https://github.com/yogsototh/mkdocs
Mostly a very minimal script which use pandoc. From markdown generate presentations (html with reveal.js/pdf with beamer) and documents (html/pdf).
Thanks for writing it. Slick, simple, and delivers.
The benefit is that it's org files, so you have all your standard org features, like easily adding new items and reordering things. It also, unlike other org presentation modes, presents from inside Emacs.
I've been looking through the github repo for a while now and I can't find the code that is responsible for parsing the markdown syntax into the html tags which are rendered on the page. Can someone point me to where that logic is occuring?
https://github.com/jdan/cleaver/blob/master/lib/index.js#L27...
/**
* Renders a slide.
*
* @param {string} content Markdown content to be rendered as a slide
* @return {string} The formatted slide
*/
Cleaver.prototype.renderSlide = function (content) {
return marked(content);
};I'm @jdan on twitter if that's a better avenue for you (DMs are open)
Here's another: https://remarkjs.com/
There are even commercial apps, such as Deckset (macOS).
HTML based, styled with CSS. Not quite markdown, but a parser would be quick to make, I guess? https://github.com/thesephist/tesseract
i think it started out being free for everybody, but now a free account is available only for public slide-decks. (when it was free for everyone, i think all decks were public, so it's not as if they ripped back functionality.)
https://github.com/regebro/hovercraft
Always liked hovercraft as it makes impress.js much more usable. Will have to properly kick the tires on Cleaver
Presently I use tex for this.