]>
luflow.net public git repositories - flow-web.git/blob - static/highlight/es/languages/haml.js
1 /*! `haml` grammar compiled for Highlight.js 11.11.1 */
2 var hljsGrammar
= (function () {
8 Author: Dan Allen <dan.j.allen@gmail.com>
9 Website: http://haml.info
13 // TODO support filter tags like :javascript, support inline HTML
17 case_insensitive: true,
21 begin: '^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$',
24 // FIXME these comments should be allowed to span indented lines
26 '^\\s*(!=#|=#|-#|/).*$',
31 begin: '^\\s*(-|=|!=)(?!#)',
42 className: 'selector-tag',
46 className: 'selector-id',
50 className: 'selector-class',
67 hljs
.APOS_STRING_MODE
,
68 hljs
.QUOTE_STRING_MODE
,
93 hljs
.APOS_STRING_MODE
,
94 hljs
.QUOTE_STRING_MODE
,
105 { begin: '^\\s*[=~]\\s*' },
121 export default hljsGrammar
;