List Callouts for Publish

What I’m trying to do

Implement (or imitate) the List Callouts plugin on Obsidian Publish.

Things I have tried

Not much. This is potentially hard? Like implementing ordinary callouts in Publish before they were officially supported?

Anybody understand how to do this by hand using publish.js and publish.css?