Sublime Text 2 recognize underscore templates as HTML

前端 未结 4 1924
南方客
南方客 2020-12-22 23:05

So, i\'m using underscore.js templates, in which i have to put my html template inside a script tag, like this



        
4条回答
  •  太阳男子
    2020-12-22 23:40

    Because modifying built-in packages isn't exactly easy, safe, or portable (especially in ST3), I split out Matt York's change into its own package.

    It is available via Package Control, and supports both Sublime Text 2 and 3 on all platforms.

    HTML Underscore Syntax

提交回复
热议问题