@stefpac Fairly straightforward actually, I am using #oxhugo, #orgmode and org-re-reveal together to get this. The snippets I am using with #yasnippets is at https://forgemacs.bharathpalavalli.com/#org7531c77 to help with this. I am using this for the micro-site at https://ham.bharathpalavalli.com/ from the repository at https://codeberg.org/bmp/gota with Codeberg's Woodpecker CI. Hope this helps!
Forgemacs' Literate Emacs Configuration

and thus, another day of PHP coding in emacs ensues.

I'm really happy with #yasnippets -- I used almost an identical facility in TextMate back in the day. Great for boilerplate reduction.

I've just completed the 6th day of the course #100daysofcode

I'm loving #python even more! And btw, I'm using #emacs to follow the course!

Have to say that the combination of #yasnippets and #elpy is fantastic!