简体   繁体   中英

Pug (Jade) syntax highlighting not working with Sublime Text 3

After installing Pug for Sublime Text 3 and setting it to use Pug for syntax highlighting, I get the following problems:

在此处输入图片说明

I believe the problem is using "string"+variable without (brackets), after testing this, the next line works...

在此处输入图片说明 I will go through the whole file and see if I can fix all of it, and then edit this or give an answer.

It doesn't like:

id="string"+variable

The correct syntax is:

id=("string"+variable)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM