Y
Y
Yura Komarov2019-01-27 09:41:07
Angular
Yura Komarov, 2019-01-27 09:41:07

How to enable syntax highlighting in `` quotes?

Hello. Please tell me how to make sublime text 3 highlight html syntax in ts files.
5c4d525136fbd484890155.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shvets, 2019-01-27
@Yurajun

Extensions are usually used for this purpose. Something like Angular Inline Template
vs code has a similar one, look it up.
But in general, advice - do not use an inline template, reduce diversity, keep uniformity.

M
msdosx86, 2019-01-27
@msdosx86

No, it's just a string. Instead of template, use templateUrl and specify the path to the HTML file and write in it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question