Last active
August 29, 2015 13:57
-
-
Save mark-kubacki/9683540 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Syntax highlighting of HTML with mixed-ins, for the editor Nano. | |
## | |
syntax "html" "\.(html|mak)$" | |
magic "HTML document text" | |
color brightblue start="<" end=">" | |
color red "&[^;[[:space:]]]*;" | |
# AngularJS and similar | |
color brightwhite start="\{\{" end="\}\}" | |
color green "ng-[^>\"\ \=]*" | |
color green start="ng-[^>\"\ \=]*\=\"" end="\"" | |
# alternate syntax for server-side templates | |
color brightred start="\{\{%" end="%\}\}" | |
# Mako | |
color yellow start="\$\{" end="\}" | |
color yellow start="<%" end="[%\/]>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment