#bespokejs — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #bespokejs, aggregated by home.social.
-
After tinkering last night, I discovered the #Markdown plugin adds a hefty 700 kB of JavaScript. That explains #Remarkjs' 650 kB footprint. I think I can do without Markdown, and that’s the beauty of #bespokejs' modular architecture 🧩
-
Be still my beating ❤️ I just discovered a mine of #bespokejs #presentation plugins:
https://www.npmjs.com/search?q=keywords%3Abespoke-pluginThere are plugins for #MarkDown support, presenter notes, and keyboard shortcuts to toggle blackout and fullscreen mode, or to go to a specific slide.
Now I can make my #Remarkjs theme even more, er, Remark-able!
-
This brings new meaning to the word vapourware! It should be possible to serve a #bespokejs #slideshow from one of these suckers:
https://bogdanthegeek.github.io/blog/projects/vapeserver/
Or, for that matter, any of @caolan's #Permacomputing Servers with Personality:
https://caolan.uk/links/servers/ -
I’ve packaged up my #Remarkjs-inspired #slideshow theme for the #bespokejs #presentation library:
👉 https://codeberg.org/harlows/bespoke-theme-remarkThe #CSS and #JavaScript slide counter are split out for easy reuse.
The demo should be reasonably self-explanatory, but I’ll add more notes to the README over time. -
I did some more tinkering to make #bespokejs more Remark-able, all with a tiny 8 kB #Javascript footprint (let's not talk about the 40 kB of fonts):
https://blog.harlow.net.nz/presentations/(You can see the #Remarkjs #slideshow I shamelessly copied here: https://remarkjs.com/)
-
I love #Remarkjs for creating #slides from #Markdown, that is, until I noticed the library is ~650 kB. So, then I went full on #FrugalComputing and looked for the smallest #HTML #presentation library...
That honour, AFAICT, goes to Mark Dalgleish's modular #Bespokejs. The #Yeoman generator failed for me, but with a little perseverance I hand coded a demo:
https://blog.harlow.net.nz/presentations/
that only required 8 kB of #Javascript. Remarkably, that's 1/80th of Remark.js!