AFAIK, the AI beta hasn’t been rolled out to testers yet, but you can sign up in this topic:
https://community.textexpander.com/t/exclusive-early-access-to-textexpander-ai/334/13
I believe I did get something, but it was using the old text expander format, which looks a lot more like code, but it didn’t work
The trick there is to paste the code into the Snippet editor set to JavaScript instead of Rich Text or Plain Text. Then you can switch the type to Rich Text or Plain Text and the code will convert to the related elements.