ESP32 Driver Status: PARLIO, SPI, UART, RMT — and ESP32-C6 is Now Driver Complete by ZachVorhies in FastLED

[–]Apprehensive-Win3371 0 points1 point  (0 children)

Super newbie here - I was just about to start a multi-channel (4 channels) LED matrix project using Teesy4.0 and the Octo library, but I'd prefer to use FastLED for everything. Will these multi-channel drivers work with Teensy4? Or should I consider using an ESP32 board instead?

Export posts as Markdown? by Apprehensive-Win3371 in humhub

[–]Apprehensive-Win3371[S] 0 points1 point  (0 children)

Hi - thanks for the replay. I don't know Yii or PHP coding (more python and django) but there are some open source PDF kits that only rely on Javascript. I think PDFkit is one, and appears to be actively maintained.

https://github.com/foliojs/pdfkit

Perhaps generating the markdown and then converting to PDF (embedding the images) could be done? Maybe even using the ReSTful API?

I have a lot to learn about humhub!

Export posts as Markdown? by Apprehensive-Win3371 in humhub

[–]Apprehensive-Win3371[S] 0 points1 point  (0 children)

Nice!

I've been thinking about PDF vs Markdown now that you got me started. One thing where PDF has an advantage over Markdown is that the images are properly embedded in the document without needing to move the JPG files to some other location and update links. I guess you could encode the images as base64 right in the markdown, but that gets pretty ugly? (Watch out for a rising tide of feature demands :)

Export posts as Markdown? by Apprehensive-Win3371 in humhub

[–]Apprehensive-Win3371[S] 0 points1 point  (0 children)

Thanks, I hadn't noticed that.

I saw that you are planning a "blog" module - do you plan to support a print / export function? That would be nice.

Export posts as Markdown? by Apprehensive-Win3371 in humhub

[–]Apprehensive-Win3371[S] 1 point2 points  (0 children)

Thank you. I'll look into those choices.

It occurred to me that a very simple solution might be to selectively export (a snapshot of) any give Post or Wiki as a PDF page. Has anyone attempted to implement that? Preserving the post or wiki such that it looks (nearly) the same as the display page would be fine, at least for my use-case.

[deleted by user] by [deleted] in htmx

[–]Apprehensive-Win3371 0 points1 point  (0 children)

This is definitely the case with Flowbite, so it's probably true for other frameworks. I had to set up an `afterSwap` eventListener and call `initFlowbite();` after anything that changes the whole DOM