the editable site (validation-lab)

This commit is contained in:
kpgarrod committed 2026-11-21 08:03:55 +01:00
commit 3ac81d5a52
13454 files changed
+2227005

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import html from './html.mjs'
import css from './css.mjs'
import javascript from './javascript.mjs'
import yaml from './yaml.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Handlebars\",\"name\":\"handlebars\",\"patterns\":[{\"include\":\"#escaped_backslash\"},{\"include\":\"#escaped_expression\"},{\"include\":\"#yfm\"},{\"include\":\"#extends\"},{\"include\":\"#block_comments\"},{\"include\":\"#comments\"},{\"include\":\"#block_helper\"},{\"include\":\"#end_block\"},{\"include\":\"#else_token\"},{\"include\":\"#partial_and_var\"},{\"include\":\"#inline_script\"},{\"include\":\"#html_tags\"},{\"include\":\"text.html.basic\"}],\"repository\":{\"block_comments\":{\"patterns\":[{\"begin\":\"\\\\{\\\\{~?!--\",\"end\":\"--~?}}\",\"name\":\"comment.block.handlebars\",\"patterns\":[{\"match\":\"@\\\\w*\",\"name\":\"keyword.annotation.handlebars\"},{\"include\":\"#comments\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"-{2,3}\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]}]},\"block_helper\":{\"begin\":\"(\\\\{\\\\{)(~?#)([-./>_\\\\p{L}\\\\p{N}]+)\\\\s?(@?[-./_\\\\p{L}\\\\p{N}]+)*\\\\s?(@?[-./_\\\\p{L}\\\\p{N}]+)*\\\\s?(@?[-./_\\\\p{L}\\\\p{N}]+)*\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars keyword.control\"},\"4\":{\"name\":\"variable.parameter.handlebars\"},\"5\":{\"name\":\"support.constant.handlebars\"},\"6\":{\"name\":\"variable.parameter.handlebars\"},\"7\":{\"name\":\"support.constant.handlebars\"}},\"end\":\"(~?}})\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.block.start.handlebars\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#handlebars_attribute\"}]},\"comments\":{\"patterns\":[{\"begin\":\"\\\\{\\\\{~?!\",\"end\":\"~?}}\",\"name\":\"comment.block.handlebars\",\"patterns\":[{\"match\":\"@\\\\w*\",\"name\":\"keyword.annotation.handlebars\"},{\"include\":\"#comments\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"-{2,3}\\\\s*>\",\"name\":\"comment.block.html\",\"patterns\":[{\"match\":\"--\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]}]},\"else_token\":{\"begin\":\"(\\\\{\\\\{)(~?else)(@?\\\\s(if)\\\\s([-()./_\\\\p{L}\\\\p{N}\\\\s]+))?\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars\"},\"4\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"(~?}}}*)\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.inline.else.handlebars\"},\"end_block\":{\"begin\":\"(\\\\{\\\\{)(~?/)([-./_\\\\p{L}\\\\p{N}]+)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"},\"2\":{\"name\":\"support.constant.handlebars keyword.control\"},\"3\":{\"name\":\"support.constant.handlebars keyword.control\"}},\"end\":\"(~?}})\",\"endCaptures\":{\"1\":{\"name\":\"support.constant.handlebars\"}},\"name\":\"meta.function.block.end.handlebars\",\"patterns\":[]},\"entities\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.entity.html\"},\"3\":{\"name\":\"punctuation.definition.entity.html\"}},\"match\":\"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)\",\"name\":\"constant.character.entity.html\"},{\"match\":\"&\",\"name\":\"invalid.illegal.bad-ampersand.html\"}]},\"escaped-double-quote\":{\"match\":\"\\\\\\\\\\\"\",\"name\":\"constant.character.escape.js\"},\"escaped-single-quote\":{\"match\":\"\\\\\\\\'\",\"name\":\"constant.character.escape.js\"},\"escaped_backslash\":{\"match\":\"\\\\\\\\\\\\\\\\(?=\\\\\\\\*\\\\{{2,3})\",\"name\":\"constant.character.escape.handlebars\"},\"escaped_expression\":{\"match\":\"\\\\\\\\\\\\{{2,3}\",\"name\":\"constant.character.escape.handlebars\"},\"extends\":{\"patterns\":[{\"begin\":\"(\\\\{\\\\{!<)\\\\s([-./_\\\\p{L}\\\\p{N}]+)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.handlebars\"},\"2\":{\"name\":\"support.class.handlebars\"}},\"end\":\"(}})\",\"endCaptures\":{\"1\":{\"name\":\"support.function.handlebars\"}},\"name\":\"meta.preprocessor.handlebars\"}]},\"handlebars_attribute\":{\"patterns\":[{\"include\":\"#handlebars_attribute_name\"},{\"include\":\"#handlebars_attribute_value\"}]},\"handlebars_attribute_name\":{\"begin\":\"\\\\b([-._\\\\p{L}\\\\p{N}]+)\\\\b=\",\"captures\":{\"1\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"(?=[\\\"']?)\",\"name\":\"entity.other.attribute-name.handlebars\"},\"handlebars_attribute_value\":{\"begin\":\"([-./_\\\\p{L}\\\\p{N}]+)\\\\b\",\"captures\":{\"1\":{\"name\":\"variable.parameter.handlebars\"}},\"end\":\"([\\\"']?)\",\"name\":\"entity.other.attribute-value.handlebars\",\"patterns\":[{\"include\":\"#string\"}]},\"html_tags\":{\"patterns\":[{\"begin\":\"(<)([-0-:A-Za-z]+)(?=[^>]*></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuatioLine truncated
export default [
...html,
...css,
...javascript,
...yaml,
lang
]