summaryrefslogtreecommitdiffstats
path: root/static/base/highlight/es/languages/haml.min.js
diff options
context:
space:
mode:
authorAndreas Widen <andreas@harmonicflow.org>2023-11-25 17:21:37 +0100
committerAndreas Widen <andreas@harmonicflow.org>2023-11-25 17:21:37 +0100
commit1b2b7c3eb939724696894f31ff27db97b0cac84c (patch)
treeefb7b7746a628efb7bb99b2e44c9c2fbfd75b656 /static/base/highlight/es/languages/haml.min.js
downloadhf-web-1b2b7c3eb939724696894f31ff27db97b0cac84c.tar.xz
hf-web-1b2b7c3eb939724696894f31ff27db97b0cac84c.zip
Initial commit.
Signed-off-by: Andreas Widen <andreas@harmonicflow.org>
Diffstat (limited to 'static/base/highlight/es/languages/haml.min.js')
-rw-r--r--static/base/highlight/es/languages/haml.min.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/static/base/highlight/es/languages/haml.min.js b/static/base/highlight/es/languages/haml.min.js
new file mode 100644
index 0000000..b82d092
--- /dev/null
+++ b/static/base/highlight/es/languages/haml.min.js
@@ -0,0 +1,18 @@
+/*! `haml` grammar compiled for Highlight.js 11.3.1 */
+var hljsGrammar=(()=>{"use strict";return e=>({name:"HAML",case_insensitive:!0,
+contains:[{className:"meta",
+begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",
+relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{
+begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,
+excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{
+className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"
+},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,
+contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,
+contains:[{className:"attr",begin:":\\w+"
+},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{
+begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",
+end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",
+begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",
+relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,
+subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]})})()
+;export default hljsGrammar; \ No newline at end of file