```scala data match case xml"<div>$content</div>" => ``` The [_Scala Days 2023 - Implementing a Macro in Scala 3_](https://github.com/nicolasstucki/scala-days-2023) presentation shows how to define this in slides [String interpolator macro V2](https://nicolasstucki.github.io/scala-days-2023/#/2/5). A concrete example can be found [here](https://github.com/nicolasstucki/scala-days-2023/blob/main/src/main/scala/jsonlib/JsonStringContext.scala).