1 line
4.6 KiB
JSON
1 line
4.6 KiB
JSON
{"ast":null,"code":"Prism.languages.markup = {\n 'comment': /<!--[\\s\\S]*?-->/,\n 'prolog': /<\\?[\\s\\S]+?\\?>/,\n 'doctype': /<!DOCTYPE[\\s\\S]+?>/i,\n 'cdata': /<!\\[CDATA\\[[\\s\\S]*?]]>/i,\n 'tag': {\n pattern: /<\\/?(?!\\d)[^\\s>\\/=$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,\n inside: {\n 'tag': {\n pattern: /^<\\/?[^\\s>\\/]+/i,\n inside: {\n 'punctuation': /^<\\/?/,\n 'namespace': /^[^\\s>\\/:]+:/\n }\n },\n 'attr-value': {\n pattern: /=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+)/i,\n inside: {\n 'punctuation': [/^=/, {\n pattern: /(^|[^\\\\])[\"']/,\n lookbehind: true\n }]\n }\n },\n 'punctuation': /\\/?>/,\n 'attr-name': {\n pattern: /[^\\s>\\/]+/,\n inside: {\n 'namespace': /^[^\\s>\\/:]+:/\n }\n }\n }\n },\n 'entity': /&#?[\\da-z]{1,8};/i\n};\nPrism.languages.markup['tag'].inside['attr-value'].inside['entity'] = Prism.languages.markup['entity']; // Plugin to make entity title show the real entity, idea by Roman Komarov\n\nPrism.hooks.add('wrap', function (env) {\n if (env.type === 'entity') {\n env.attributes['title'] = env.content.replace(/&/, '&');\n }\n});\nPrism.languages.xml = Prism.languages.markup;\nPrism.languages.html = Prism.languages.markup;\nPrism.languages.mathml = Prism.languages.markup;\nPrism.languages.svg = Prism.languages.markup;","map":{"version":3,"names":["Prism","languages","markup","pattern","inside","lookbehind","hooks","add","env","type","attributes","content","replace","xml","html","mathml","svg"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/prismjs/components/prism-markup.js"],"sourcesContent":["Prism.languages.markup = {\n\t'comment': /<!--[\\s\\S]*?-->/,\n\t'prolog': /<\\?[\\s\\S]+?\\?>/,\n\t'doctype': /<!DOCTYPE[\\s\\S]+?>/i,\n\t'cdata': /<!\\[CDATA\\[[\\s\\S]*?]]>/i,\n\t'tag': {\n\t\tpattern: /<\\/?(?!\\d)[^\\s>\\/=$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,\n\t\tinside: {\n\t\t\t'tag': {\n\t\t\t\tpattern: /^<\\/?[^\\s>\\/]+/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': /^<\\/?/,\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t},\n\t\t\t'attr-value': {\n\t\t\t\tpattern: /=(?:(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1|[^\\s'\">=]+)/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': [\n\t\t\t\t\t\t/^=/,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpattern: /(^|[^\\\\])[\"']/,\n\t\t\t\t\t\t\tlookbehind: true\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t},\n\t\t\t'punctuation': /\\/?>/,\n\t\t\t'attr-name': {\n\t\t\t\tpattern: /[^\\s>\\/]+/,\n\t\t\t\tinside: {\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t},\n\t'entity': /&#?[\\da-z]{1,8};/i\n};\n\nPrism.languages.markup['tag'].inside['attr-value'].inside['entity'] =\n\tPrism.languages.markup['entity'];\n\n// Plugin to make entity title show the real entity, idea by Roman Komarov\nPrism.hooks.add('wrap', function(env) {\n\n\tif (env.type === 'entity') {\n\t\tenv.attributes['title'] = env.content.replace(/&/, '&');\n\t}\n});\n\nPrism.languages.xml = Prism.languages.markup;\nPrism.languages.html = Prism.languages.markup;\nPrism.languages.mathml = Prism.languages.markup;\nPrism.languages.svg = Prism.languages.markup;\n"],"mappings":"AAAAA,KAAK,CAACC,SAAN,CAAgBC,MAAhB,GAAyB;EACxB,WAAW,iBADa;EAExB,UAAU,gBAFc;EAGxB,WAAW,qBAHa;EAIxB,SAAS,yBAJe;EAKxB,OAAO;IACNC,OAAO,EAAE,uGADH;IAENC,MAAM,EAAE;MACP,OAAO;QACND,OAAO,EAAE,iBADH;QAENC,MAAM,EAAE;UACP,eAAe,OADR;UAEP,aAAa;QAFN;MAFF,CADA;MAQP,cAAc;QACbD,OAAO,EAAE,mDADI;QAEbC,MAAM,EAAE;UACP,eAAe,CACd,IADc,EAEd;YACCD,OAAO,EAAE,eADV;YAECE,UAAU,EAAE;UAFb,CAFc;QADR;MAFK,CARP;MAoBP,eAAe,MApBR;MAqBP,aAAa;QACZF,OAAO,EAAE,WADG;QAEZC,MAAM,EAAE;UACP,aAAa;QADN;MAFI;IArBN;EAFF,CALiB;EAqCxB,UAAU;AArCc,CAAzB;AAwCAJ,KAAK,CAACC,SAAN,CAAgBC,MAAhB,CAAuB,KAAvB,EAA8BE,MAA9B,CAAqC,YAArC,EAAmDA,MAAnD,CAA0D,QAA1D,IACCJ,KAAK,CAACC,SAAN,CAAgBC,MAAhB,CAAuB,QAAvB,CADD,C,CAGA;;AACAF,KAAK,CAACM,KAAN,CAAYC,GAAZ,CAAgB,MAAhB,EAAwB,UAASC,GAAT,EAAc;EAErC,IAAIA,GAAG,CAACC,IAAJ,KAAa,QAAjB,EAA2B;IAC1BD,GAAG,CAACE,UAAJ,CAAe,OAAf,IAA0BF,GAAG,CAACG,OAAJ,CAAYC,OAAZ,CAAoB,OAApB,EAA6B,GAA7B,CAA1B;EACA;AACD,CALD;AAOAZ,KAAK,CAACC,SAAN,CAAgBY,GAAhB,GAAsBb,KAAK,CAACC,SAAN,CAAgBC,MAAtC;AACAF,KAAK,CAACC,SAAN,CAAgBa,IAAhB,GAAuBd,KAAK,CAACC,SAAN,CAAgBC,MAAvC;AACAF,KAAK,CAACC,SAAN,CAAgBc,MAAhB,GAAyBf,KAAK,CAACC,SAAN,CAAgBC,MAAzC;AACAF,KAAK,CAACC,SAAN,CAAgBe,GAAhB,GAAsBhB,KAAK,CAACC,SAAN,CAAgBC,MAAtC"},"metadata":{},"sourceType":"script"} |