Sublime Forum

.htm comment markers

#1

I am trying out Sublime as an editor on a .htm file
I noticed it does not seem to recognize the syntax for a comment per the instructions on this page:
http://www.w3schools.com/tags/tag_comment.asp

as a work around I have been using
Sublime seems to recognize the markers for C code comments within .htm type files.

Let me know if I have miss used Sublime as I am very new to it, have been using VI for 40 years.

Keshka

0 Likes

#2

html comments are working fine on my end. The syntax may be getting thrown off by the ‘.htm’ extension, maybe…? I always .html

You can force a syntax via super+shift+p then type sshtml

OS X 10.8, ST 3 3084

0 Likes