Closed PatrickLerner closed 9 years ago
Here is mine:
I'm not sure why yours doesn't highlight HTML. Perhaps it's the theme?
I don't think so. I completely reset everything and all I have is Package Control, the Monokai Extended style and Markdown Extended installed. No custom settings or anything and it still does not work:
It works perfectly in the normal Markdown style that comes bundled with Sublime Text 3, however.
Hmm, I'll have to dig into this. another package must be effecting highlighting
... and thanks for looking into it more!
see this
Markdown extended is disabling html highlight and including text.html.handlebars
.
so, install handlebars will solve the problem.
I can confirm that installing handlebars makes it work for me as well. The only difference to the official Markdown definition is that it doesn't auto close tags when I type "</" anymore (e.g. typing "test</" in the default Markdown/HTML syntax scheme, inserts "b>" automatically for me, Markdown Extended doesn't.
It's a minor issue in any case. Thanks for the hint, randy3k.
change text.html.handlebars
to text.html.basic
will do the job. may be we should make a pull request for this?
i have created a PR, #52.
Thanks Jon Schlinkert for his quick response. He has merged my PR, the latest commit should work nicely with HTML tags. :)
It would be great if this style could also support inline html lines much like the default markdown style that comes with Sublime Text as I like to use it quite often to include image tags with specific properties and other such nice things.
Default Markdown Syntax Style:
Current Markdown Extended Syntax Style: