I’m trying to replicate this kind of interaction onto kirby, https://dennishogan1.cargo.site/. (Client wants to be able to edit the content themselves using a panel interface, etc.)
I’ve been using kirbytextinline() to achieve the content extensions for the “read more” “read less” interaction, which is important for me in that it gives the appearance of the content simply growing/extending from the minimized version, but I noticed that the markdown for list items - disappears.
It seemed like the kirbyrawtext plugin was the solution to that, but it seems like it’s been discontinued? I was wondering if there was any easy solution to get the list formatting without having the extended text all come in new < p > tags.
How does the expanding part actually work? Could you share the code / kirbytext you are using? I have a solution that might work but need to see that first to see if its a fit.