polymer - Is it possible to make geany also highlight unknown HTML-tags? -
i'm playing around polymer , use custom tags, such <paper-icon-button icon="menu" on-tap="...">...</paper-icon-button></code>
. geany doesn't highlight them normal html-tags (bold blue <div
, >
, bold darkblue class=
, medium green "label"
) – whole text displayed in medium blue.
here's demonstration of both types of tags:
now question: possible make geany highlight unknown html-tags? or, can install syntax highlighter solves problem?
thanks in advance!
you can add keywords custom filetypes.html.
copy file geany-installation-dir/data .config-folder of geany -- on linux somewhere @ ~/.config/geany/filedefs ; on windows somewhere c:\users\\appdata\roaming\geany\filedefs , add new tag keyword.
the file normal key-value section, find inside:
[keywords] html=a abbr acronym address applet area b base basefont bdo big blockquote ....
that's point need add new keywords. current upstream version of file can found @ https://github.com/geany/geany/blob/master/data/filetypes.html
Comments
Post a Comment