I really like the latex:nopreamble export feature, but to fully integrate it with my documents I would like to pass raw latex code to the exported file, i.e.
@startuml
A -> B: <raw> something \gls{glossary-entry} \autocite{cool-source} </raw>
@enduml