home.social

#bespokejs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #bespokejs, aggregated by home.social.

  1. 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 🧩

  2. Be still my beating ❤️ I just discovered a mine of #bespokejs #presentation plugins:
    npmjs.com/search?q=keywords%3A

    There 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!

  3. This brings new meaning to the word vapourware! It should be possible to serve a #bespokejs #slideshow from one of these suckers:
    bogdanthegeek.github.io/blog/p
    Or, for that matter, any of @caolan's #Permacomputing Servers with Personality:
    caolan.uk/links/servers/

  4. I’ve packaged up my #Remarkjs-inspired #slideshow theme for the #bespokejs #presentation library:
    👉 codeberg.org/harlows/bespoke-t

    The #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.

  5. 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):
    blog.harlow.net.nz/presentatio

    (You can see the #Remarkjs #slideshow I shamelessly copied here: remarkjs.com/)

  6. 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:
    blog.harlow.net.nz/presentatio
    that only required 8 kB of #Javascript. Remarkably, that's 1/80th of Remark.js!

    👉 markdalgleish.com/projects/bes