1
|
{"version":3,"sources":["webpack:///text/node_modules/highlight.js/lib/languages/erb.js"],"names":["module","exports","hljs","name","subLanguage","contains","COMMENT","begin","end","excludeBegin","excludeEnd"],"mappings":"mFA4BAA,EAAOC,QAjBP,SAAaC,GACX,MAAO,CACLC,KAAM,MACNC,YAAa,MACbC,SAAU,CACRH,EAAKI,QAAQ,MAAO,MACpB,CACEC,MAAO,WACPC,IAAK,UACLJ,YAAa,OACbK,cAAc,EACdC,YAAY","file":"highlight/erb.js?v=f27c36005e384b957772","sourcesContent":["/*\nLanguage: ERB (Embedded Ruby)\nRequires: xml.js, ruby.js\nAuthor: Lucas Mazza <lucastmazza@gmail.com>\nContributors: Kassio Borges <kassioborgesm@gmail.com>\nDescription: \"Bridge\" language defining fragments of Ruby in HTML within <% .. %>\nWebsite: https://ruby-doc.org/stdlib-2.6.5/libdoc/erb/rdoc/ERB.html\nCategory: template\n*/\n\n/** @type LanguageFn */\nfunction erb(hljs) {\n return {\n name: 'ERB',\n subLanguage: 'xml',\n contains: [\n hljs.COMMENT('<%#', '%>'),\n {\n begin: '<%[%=-]?',\n end: '[%-]?%>',\n subLanguage: 'ruby',\n excludeBegin: true,\n excludeEnd: true\n }\n ]\n };\n}\n\nmodule.exports = erb;\n"],"sourceRoot":""}
|