Sublime Forum

The < symbol cannot be used as a trigger when using the custom template functionality

#1

  • How do I use < as the trigger word
0 Likes

#2

For such cases, I think you can either do <tabTrigger>&lt;</tabTrigger> or <tabTrigger><![CDATA[<]]></tabTrigger> since you need to escape < somehow. So either an entity or escaping it in CDATA.

0 Likes

#3

Through & lt;The escape method will not match the keyword and the second method will report an error

0 Likes