Hello! I’m working with typst files, and would like to write a kate plugin to automatically preview them inside kate. However, the official guide has instructions only for plasma 5. Does anyone have a bare-bones plugin project I can clone and modify, or some tips on how to adapt the files in the official guide in order to work on plasma 6?

Thanks in advance!