There’s no built-in feature to achieve what you want, but it’s doable if you are comfortable writing custom Hugo templates or shortcodes. See this thread for more information.
The post you linked to, explains the concept, which I think I understand. But if it is not too much to ask, is there an example implementation that I can see and replicate?
The Hugo community is pretty big, so maybe there are examples out there, but I don’t have any on my mind, sorry. Someone in the Micro.blog community might have done this, so it could be worth asking on your blog to get the question out on the timeline. If you’re lucky, @jean or @manton will boost your post on the Discovery page for better reach.