How do I edit HTML's Atom support


#1

I wanted to edit Atom’s built in html support, how do I do that?


#2

For grammar scoping (syntax highlighting) you will need to edit the language-html package.

To do this, either run apm develop language-html and start working on it (in dev mode).

Alternatively, you can clone the source directly and run apm link to work on it in normal mode too. Any packages you link this way will override a builtin one (the builtin one will be used again if you remove the linked package though).

For other features, there are a host of packages that might be relevant. In general, if it’s a new feature you want, it may be better to write a new package for it though. Unless you’re planning to PR the changes to the official repo, you’ll have to worry about merging from upstream and all the breaking changes that can come with that.