## SYNTAX TEST "Packages/HTML/HTML.sublime-syntax"
## <- meta.tag.preprocessor punctuation.definition.tag.begin
##^^^entity.name.tag.xml
## ^ punctuation.definition.tag.end
## <- meta.tag.sgml.doctype punctuation.definition.tag.begin
##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.tag.sgml.doctype
##^^^^^^^ keyword.declaration.doctype
## ^^^^ constant.language.doctype
## ^^^^^^ keyword.content.external
## ^^^^^^^^^^^ string.quoted.double
## ^ meta.brackets meta.internal-subset punctuation.section.brackets.begin
## ^^^^^^^^^^^^^^^^ comment.block
## ^^^^ punctuation.definition.comment.begin
## ^^^ punctuation.definition.comment.end
;
## ^^^^^^^^^^^^^^^^^^^^^^^^ meta.tag.sgml.doctype meta.brackets meta.internal-subset
]>
## <- meta.tag.sgml.doctype meta.brackets meta.internal-subset punctuation.section.brackets.end
Test HTML
## <- comment.block.html punctuation.definition.comment.end.html
## ^^^^^^ entity.name.tag.script.html
## ^^^^^^^^^ meta.tag.script.end.html - source.js.embedded.html
## ^ - meta.tag
## <- comment.block.html punctuation.definition.comment.end.html
## ^^^^^^ entity.name.tag.script.html
## ^^^^^^^^^ meta.tag.script.end.html - source.js.embedded.html
## ^ - meta.tag
## ^^^^^^^^^ text.html.basic text.html.embedded.html meta.tag.script.end
## ^ text.html.basic text.html.embedded.html
## ^^^^^^^^^ text.html.basic - text.html.embedded.html meta.tag.script.end
##^^^^^ entity.name.tag.style.html
##<- meta.tag.style.end.html - source.css.embedded.html
##^^^^^^ meta.tag.style.end.html - source.css.embedded.html
## ^ - meta.tag
## ^ - source.css.embedded.html
## ^ meta.tag.style entity.name.tag.style
## ^ - source.js.embedded.html
## ^ meta.tag.script entity.name.tag.script
]]>
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.tag.sgml.cdata
## ^^^ punctuation.definition.tag.begin
## ^^^^^ keyword.declaration.cdata
## ^ punctuation.definition.tag.begin
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.unquoted.cdata
## ^ - string.unquoted.cdata
## ^^^ punctuation.definition.tag.end
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.unquoted.cdata
]]>
## ^ - string.unquoted.cdata
## ^^^ punctuation.definition.tag.end
## ^^^^^^^^^^^^^^^^^^^^ string.unquoted.cdata
## ^^^ - punctuation.definition.tag.begin
## ^^^^^ - keyword.declaration.cdata
## ^ - punctuation.definition.tag.begin
## ^^^ punctuation.definition.tag.end
]]>
## ^^^ invalid.illegal.missing-entity
## ^^^^^^^^^^^^^^^^ comment.block.html
## ^^^^ punctuation.definition.comment.begin.html
## ^^^ punctuation.definition.comment.end.html
## ^^^^^^^^^ - punctuation
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block - invalid.illegal.bad-comments-or-CDATA
-- hyphens
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block
## ^ invalid.illegal.bad-comments-or-CDATA
## ^^^^ invalid.illegal.bad-comments-or-CDATA
## ^^^^ invalid.illegal.bad-comments-or-CDATA
## ^^^ invalid.illegal.bad-comments-or-CDATA
- hyphens
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ comment.block
## ^^ invalid.illegal.bad-comments-or-CDATA
## ^^^^^^^^^^^^^^^ - invalid.illegal.bad-comments-or-CDATA
## ^ - meta.attribute-with-value
## ^^^^^ entity.other.attribute-name
## ^^^^^^^^^^^^^^^^^ meta.attribute-with-value
## ^^^^^^^^^^^ string.unquoted
## <- entity.other.attribute-name
## <- entity.other.attribute-name
## ^ punctuation.separator.key-value.html
## ^^^^^^^^^^^^^ string
## ^^^^^^^^^^^^^ string
## ^ punctuation.separator.key-value
## ^^^^^^^^^^^^^ string
## <- entity.other.attribute-name.class
## ^ - meta.attribute-with-value
## ^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value
## ^^^^^ entity.other.attribute-name
## ^^^^^^^^^^^^^ string.quoted.single
## ^ punctuation.definition.string.begin
## ^ punctuation.definition.string.end
## ^ - meta.attribute-with-value
## ^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value
## ^^^^^ entity.other.attribute-name
## ^^^^^^^^^^^^^ string.quoted.double
## ^ punctuation.definition.string.begin
## ^ punctuation.definition.string.end
## ^ - meta.attribute-with-value.id
## ^^ entity.other.attribute-name.id
## ^^^^^^^ meta.attribute-with-value.id
## ^^^^ string.unquoted meta.toc-list.id
## ^ - meta.attribute-with-value.id
## ^^^^^^^^^^ meta.attribute-with-value.id
## ^^ entity.other.attribute-name.id
## ^^^^^^^ string.quoted.single
## ^ punctuation.definition.string.begin - meta.toc-list.id
## ^^^^^ meta.toc-list.id
## ^ punctuation.definition.string.end - meta.toc-list.id
## ^ - meta.attribute-with-value.id
## ^^^^^^^^^^ meta.attribute-with-value.id
## ^^ entity.other.attribute-name.id
## ^^^^^^^^^^^ string.quoted.double
## ^ punctuation.definition.string.begin - meta.toc-list.id
## ^^^^^^^^^ meta.toc-list.id
## ^ punctuation.definition.string.end - meta.toc-list.id
## ^ - meta.attribute-with-value.class
## ^^^^^ entity.other.attribute-name.class
## ^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value.class
## ^^^^^^^^^^^^^ string.unquoted meta.class-name
## ^ - meta.attribute-with-value.class
## ^^^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value.class
## ^^^^^ entity.other.attribute-name.class
## ^^^^^^^^^^^^^^^ string.quoted.single
## ^ punctuation.definition.string.begin - meta.class-name
## ^^^^^^^^^^^^^ meta.class-name
## ^ punctuation.definition.string.end - meta.class-name
## ^ - meta.attribute-with-value.class
## ^^^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value.class
## ^^^^^ entity.other.attribute-name.class
## ^^^^^^^^^^^^^^^ string.quoted.double
## ^ punctuation.definition.string.begin - meta.class-name
## ^^^^^^^^^^^^^ meta.class-name
## ^ punctuation.definition.string.end - meta.class-name
## ^ - meta.attribute-with-value.style
## ^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value.style
## ^^^^^ meta.attribute-with-value.style.html entity.other.attribute-name.style.html
## ^ punctuation.definition.string.begin.html - source.css
## ^^^^^^^^^^^ source.css
## ^ punctuation.definition.string.end.html - source.css
## ^^^^^ meta.property-name.css support.type.property-name.css
## ^^^ meta.property-value.css constant.numeric.css
## ^ - meta.attribute-with-value.style
## ^^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value.style
## ^^^^^ meta.attribute-with-value.style.html entity.other.attribute-name.style.html
## ^ punctuation.definition.string.begin.html - source.css
## ^ punctuation.definition.string.end.html - source.css
## ^^^^^^^^^^^^ source.css
## ^^^^^ meta.property-name.css support.type.property-name.css
## ^^^ meta.property-value.css constant.numeric.css
## ^ entity.other.attribute-name.html
## ^ entity.other.attribute-name.html
## ^ entity.other.attribute-name.html
## ^ entity.other.attribute-name.html
## ^^^^^^^^^^^^^ entity.other.attribute-name.html
## ^^^^^^^^^^^^^^^^^^^ entity.other.attribute-name.html
## ^^^^^^^ - invalid
## ^^^^^ entity.other.attribute-name
## ^ punctuation.separator.key-value
Mind the tab character!
## ^^^ entity.other.attribute-name
## ^ - entity.other.attribute-name
## ^^^ entity.other.attribute-name
## ^^^ entity.other.attribute-name
## ^ string.unquoted
## ^^^ entity.other.attribute-name
## ^ string.unquoted
Test
## ^ - meta.attribute-with-value.event
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.attribute-with-value.event
## ^ - source.js
## ^ - source.js
## ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.js
## ^ meta.function-call.js support.function
## ^^^^^^^^ entity.other.attribute-name
## ^^^^^ entity.name.tag.block.any.html
## ^^^^ entity.name.tag.inline.any.html
## ^^^^^^^^ entity.name.tag.other.html
## ^ - punctuation.definition.tag.end.html
## ^^ meta.tag.other.html punctuation.definition.tag.end.html
##^^^^^^^^^^^^^^ entity.name.tag.custom.html
## ^^^^^^^^^^^^^^ entity.name.tag.custom.html
## ^^^^^^^^^^^^^^^ entity.name.tag.custom.html
## ^^^^^^^^^^^^^^^ entity.name.tag.custom.html
## ^^^^^^^^^^^^^^ entity.name.tag.custom.html
##^^^^^^^^^^^^^^^^ meta.tag.custom.html
## ^^ punctuation.definition.tag.end.html
## ^ - meta.tag.custom.html - punctuation.definition.tag.end.html
## ^^^^^^^^^^^^^^^^ invalid.illegal.uppercase-custom-tag-name.html
## ^ entity.name.tag.inline.table.html
## ^ entity.name.tag.inline.table.html
## ^ entity.name.tag.inline.table.html
|
## ^ entity.name.tag.inline.table.html
## ^ entity.name.tag.inline.table.html
|
##^ entity.name.tag.inline.table.html
## ^ entity.name.tag.inline.table.html
|
&
## ^^^^^ constant.character.entity.named
## ^ punctuation.definition.entity
## ^ punctuation.terminator.entity
{
## ^^^^^^ constant.character.entity.decimal
## ^^ punctuation.definition.entity
## ^ punctuation.terminator.entity
## ^^^^^^ constant.character.entity.hexadecimal
## ^^^ punctuation.definition.entity
## ^ punctuation.terminator.entity
## ^^^^^^ constant.character.entity.hexadecimal
## ^^^ punctuation.definition.entity
## ^ punctuation.terminator.entity
&β;
## ^^^ - constant.character.entity
## ^^^ - constant.character.entity
## ^^^^ - constant.character.entity
## ^^^^^ constant.character.entity
## ^ - constant.character.entity
## ^ - invalid.illegal
## ^^ meta.tag.block.any punctuation.definition.tag.end
## ^^ entity.name.tag.block.any
## ^^ punctuation.definition.tag.end
# ^^^^ entity.name.tag.structure