To enable highlighting them as keywords in HTML documents, add the following elements [defined in W3C HTML 5.1](https://www.w3.org/TR/html51/fullindex.html#index-elements):
- `menuitem` - `picture` - `rb` - `rtc` - `template`
as well as the following elements [defined in WHATWG HTML Living Standard](https://html.spec.whatwg.org/multipage/indices.html#elements-3):
- `math` - `slot` - `svg` You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1530
-- Commit Summary --
* Add newly standardized HTML elements to filetypes.html
-- File Changes --
M data/filedefs/filetypes.html (2)
-- Patch Links --
https://github.com/geany/geany/pull/1530.patch https://github.com/geany/geany/pull/1530.diff
@vfaronov looks ok by inspection, though whatwg looks [like](https://xkcd.com/927/).
Could I ask you to clean the list up while you are making changes, there seems to be repeated stuff (which is bad) and its out of alphabetical order (which is possibly why stuff got repeated).
@vfaronov pushed 2 commits.
4958528 Add newly standardized HTML attributes to filetypes.html 6bbd274 Sort the list of HTML keywords
Sure, see updated PR. I also realized this list contains attributes as well, so added those too.
As for WHATWG, as far as I understand, the major browser vendors follow that standard, so we shouldn’t ignore it.
Thanks, as I am not a HMTList (I am widely acknowledged as allergic to `<>`s) will wait for a bit to see if anybody objects before commit.
I had a look and think this is OK even though I'm no HTML expert either. But it probably won't hurt.
Fine to merge for me.
Merged #1530.
Merged, since its a data file if its badly wrong users can edit it if needed.
github-comments@lists.geany.org