Files
zyedidia.micro/runtime/syntax/html.yaml
Zachary Yedidia 2fcb40d5a9 Use new syntax highlighting engine from zyedidia/highlight
This changes all the syntax files in the runtime directory and also
changes how syntax highlighting is done from inside micro.
2017-02-26 11:14:35 -05:00

11 lines
311 B
YAML

filetype: html
detect:
filename: "\\.htm[l]?$"
rules:
- identifier: "<.*?>"
- special: "&[^;[[:space:]]]*;"
- statement: "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
- constant: "\"[^\"]*\"|qq\\|.*\\|"