For example <header>
and <footer>
are new HTML5 elements, but as it seems in the screen shot below both the elements are marked as red which probably means Geany is telling :
Warining : Unknown elements
How can I make this normal? What files do I need to edit?
Update
I found that when I revert back to default (white background, as shown in Morlunk's answer) theme then no error occurs. Any way to make this happen in my theme? Because I don't want to leave dark theme
On the version of Geany shipped with Ubuntu 12.04 (0.21), this doesn't appear to be an issue!
I recommend you update to the latest version of Geany using this PPA or, if you're feeling adventurous, updating to Ubuntu 12.04. Good luck!
Andrew
The following can be tacked onto the end of the HTML keywords line in
filetypes.xml
(~/.config/geany/filedefs/filetypes.xml
) for the HTML5 new elements to be recognised:(Geany 1.23.1 has these keywords.)