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

+20
View File
@@ -0,0 +1,20 @@
import html_derivative from './html-derivative.mjs'
import html from './html.mjs'
import xml from './xml.mjs'
import sql from './sql.mjs'
import javascript from './javascript.mjs'
import json from './json.mjs'
import css from './css.mjs'
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Blade\",\"fileTypes\":[\"blade.php\"],\"foldingStartMarker\":\"(/\\\\*|\\\\{\\\\s*$|<<<HTML)\",\"foldingStopMarker\":\"(\\\\*/|^\\\\s*}|^HTML;)\",\"injections\":{\"text.html.php.blade - (meta.embedded | meta.tag | comment.block.blade), L:(text.html.php.blade meta.tag - (comment.block.blade | meta.embedded.block.blade)), L:(source.js.embedded.html - (comment.block.blade | meta.embedded.block.blade))\":{\"patterns\":[{\"include\":\"#blade\"},{\"begin\":\"^(\\\\s*)(?=<\\\\?(?![^?]*\\\\?>))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.whitespace.embedded.leading.php\"}},\"end\":\"(?!\\\\G)(\\\\s*$\\\\n)?\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.whitespace.embedded.trailing.php\"}},\"patterns\":[{\"begin\":\"<\\\\?(?i:php|=)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"contentName\":\"source.php\",\"end\":\"(\\\\?)>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"meta.embedded.block.php\",\"patterns\":[{\"include\":\"#language\"}]}]},{\"begin\":\"<\\\\?(?i:php|=)?(?![^?]*\\\\?>)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"contentName\":\"source.php\",\"end\":\"(\\\\?)>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"meta.embedded.block.php\",\"patterns\":[{\"include\":\"#language\"}]},{\"begin\":\"<\\\\?(?i:php|=)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"}},\"name\":\"meta.embedded.line.php\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"source.php\"},\"2\":{\"name\":\"punctuation.section.embedded.end.php\"},\"3\":{\"name\":\"source.php\"}},\"match\":\"\\\\G(\\\\s*)((\\\\?))(?=>)\",\"name\":\"meta.special.empty-tag.php\"},{\"begin\":\"\\\\G\",\"contentName\":\"source.php\",\"end\":\"(\\\\?)(?=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"patterns\":[{\"include\":\"#language\"}]}]}]}},\"name\":\"blade\",\"patterns\":[{\"include\":\"text.html.derivative\"}],\"repository\":{\"balance_brackets\":{\"patterns\":[{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#balance_brackets\"}]},{\"match\":\"[^()]+\"}]},\"blade\":{\"patterns\":[{\"begin\":\"\\\\{\\\\{--\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.begin.blade\"}},\"end\":\"--}}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.end.blade\"}},\"name\":\"comment.block.blade\",\"patterns\":[{\"begin\":\"^(\\\\s*)(?=<\\\\?(?![^?]*\\\\?>))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.whitespace.embedded.leading.php\"}},\"end\":\"(?!\\\\G)(\\\\s*$\\\\n)?\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.whitespace.embedded.trailing.php\"}},\"name\":\"invalid.illegal.php-code-in-comment.blade\",\"patterns\":[{\"begin\":\"<\\\\?(?i:php|=)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"contentName\":\"source.php\",\"end\":\"(\\\\?)>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"meta.embedded.block.php\",\"patterns\":[{\"include\":\"#language\"}]}]},{\"begin\":\"<\\\\?(?i:php|=)?(?![^?]*\\\\?>)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"contentName\":\"source.php\",\"end\":\"(\\\\?)>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"invalid.illegal.php-code-in-comment.blade.meta.embedded.block.php\",\"patterns\":[{\"include\":\"#language\"}]},{\"begin\":\"<\\\\?(?i:php|=)?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.begin.php\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"}},\"name\":\"invalid.illegal.php-code-in-comment.blade.meta.embedded.line.php\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"source.php\"},\"2\":{\"name\":\"punctuation.section.embedded.end.php\"},\"3\":{\"name\":\"source.php\"}},\"match\":\"\\\\G(\\\\s*)((\\\\?))(?=>)\",\"name\":\"meta.special.empty-tag.php\"},{\"begin\":\"\\\\G\",\"contentName\":\"source.php\",\"end\":\"(\\\\?)(?=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.end.php\"},\"1\":{\"name\":\"source.php\"}},\"patterns\":[{\"include\":\"#language\"}]}]}]},{\"begin\":\"(?<!@)\\\\{\\\\{\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"support.function.construct.begin.blade\"}},\"contentName\":\"source.php\",\"end\":\"}}}\",\"endCaptures\":{\"0\":{\"name\":\"support.function.construct.end.blade\"},\"1\":{\"name\":\"source.php\"}},\"name\":\"meta.function.echo.blade\",\"patterns\":[{\"include\":\"#language\"}]},{\"begin\":\"(?<![@{])\\\\{\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"suppoLine truncated
export default [
...html_derivative,
...html,
...xml,
...sql,
...javascript,
...json,
...css,
lang
]