You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/186.js

1 line
8.4 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[186],{PhST:function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"conf\", function() { return conf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"language\", function() { return language; });\n/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nvar conf = {\r\n comments: {\r\n blockComment: ['\x3c!--', '--\x3e',]\r\n },\r\n brackets: [\r\n ['{', '}'],\r\n ['[', ']'],\r\n ['(', ')']\r\n ],\r\n autoClosingPairs: [\r\n { open: '{', close: '}' },\r\n { open: '[', close: ']' },\r\n { open: '(', close: ')' },\r\n { open: '<', close: '>', notIn: ['string'] }\r\n ],\r\n surroundingPairs: [\r\n { open: '(', close: ')' },\r\n { open: '[', close: ']' },\r\n { open: '`', close: '`' },\r\n ],\r\n folding: {\r\n markers: {\r\n start: new RegExp(\"^\\\\s*\x3c!--\\\\s*#?region\\\\b.*--\x3e\"),\r\n end: new RegExp(\"^\\\\s*\x3c!--\\\\s*#?endregion\\\\b.*--\x3e\")\r\n }\r\n }\r\n};\r\nvar language = {\r\n defaultToken: '',\r\n tokenPostfix: '.md',\r\n // escape codes\r\n control: /[\\\\`*_\\[\\]{}()#+\\-\\.!]/,\r\n noncontrol: /[^\\\\`*_\\[\\]{}()#+\\-\\.!]/,\r\n escapes: /\\\\(?:@control)/,\r\n // escape codes for javascript/CSS strings\r\n jsescapes: /\\\\(?:[btnfr\\\\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,\r\n // non matched elements\r\n empty: [\r\n 'area', 'base', 'basefont', 'br', 'col', 'frame',\r\n 'hr', 'img', 'input', 'isindex', 'link', 'meta', 'param'\r\n ],\r\n tokenizer: {\r\n root: [\r\n // markdown tables\r\n [/^\\s*\\|/, '@rematch', '@table_header'],\r\n // headers (with #)\r\n [/^(\\s{0,3})(#+)((?:[^\\\\#]|@escapes)+)((?:#+)?)/, ['white', 'keyword', 'keyword', 'keyword']],\r\n // headers (with =)\r\n [/^\\s*(=+|\\-+)\\s*$/, 'keyword'],\r\n // headers (with ***)\r\n [/^\\s*((\\*[ ]?)+)\\s*$/, 'meta.separator'],\r\n // quote\r\n [/^\\s*>+/, 'comment'],\r\n // list (starting with * or number)\r\n [/^\\s*([\\*\\-+:]|\\d+\\.)\\s/, 'keyword'],\r\n // code block (4 spaces indent)\r\n [/^(\\t|[ ]{4})[^ ].*$/, 'string'],\r\n // code block (3 tilde)\r\n [/^\\s*~~~\\s*((?:\\w|[\\/\\-#])+)?\\s*$/, { token: 'string', next: '@codeblock' }],\r\n // github style code blocks (with backticks and language)\r\n [/^\\s*```\\s*((?:\\w|[\\/\\-#])+).*$/, { token: 'string', next: '@codeblockgh', nextEmbedded: '$1' }],\r\n // github style code blocks (with backticks but no language)\r\n [/^\\s*```\\s*$/, { token: 'string', next: '@codeblock' }],\r\n // markup within lines\r\n { include: '@linecontent' },\r\n ],\r\n table_header: [\r\n { include: '@table_common' },\r\n [/[^\\|]+/, 'keyword.table.header'],\r\n ],\r\n table_body: [\r\n { include: '@table_common' },\r\n { include: '@linecontent' },\r\n ],\r\n table_common: [\r\n [/\\s*[\\-:]+\\s*/, { token: 'keyword', switchTo: 'table_body' }],\r\n [/^\\s*\\|/, 'keyword.table.left'],\r\n [/^\\s*[^\\|]/, '@rematch', '@pop'],\r\n [/^\\s*$/, '@rematch', '@pop'],\r\n [/\\|/, {\r\n cases: {\r\n '@eos': 'keyword.table.right',\r\n '@default': 'keyword.table.middle',\r\n }\r\n }],\r\n ],\r\n codeblock: [\r\n [/^\\s*~~~\\s*$/, { token: 'string', next: '@pop' }],\r\n [/^\\s*```\\s*$/, { token: 'string', next: '@pop' }],\r\n [/.*$/, 'variable.source'],\r\n ],\r\n // github style code blocks\r\n codeblockgh: [\r\n [/```\\s*$/, { token: 'variable.source', next: '@pop', nextEmbedded: '@pop' }],\r\n [/[^`]+/, 'variable.source'],\r\n ],\r\n linecontent: [\r\n // escapes\r\n [/&\\w+;/, 'string.escape'],\r\n [/@escapes/, 'escape'],\r\n // various markup\r\n [/\\b__([^\\\\_]|@escapes|_(?!_))+__\\b/, 'strong'],\r\n [/\\*\\*([^\\\\*]|@escapes|\\*(?!\\*))+\\*\\*/, 'strong'],\r\n [/\\b_[^_]+_\\b/, 'emphasis'],\r\n [/\\*([^\\\\*]|@escapes)+\\*/, 'emphasis'],\r\n [/`([^\\\\`]|@escapes)+`/, 'variable'],\r\n // links\r\n [/\\{+[^}]+\\}+/, 'string.target'],\r\n [/(!?\\[)((?:[^\\]\\\\]|@escapes)*)(\\]\\([^\\)]+\\))/, ['string.link', '', 'string.link']],\r\n [/(!?\\[)((?:[^\\]\\\\]|@escapes)*)(\\])/, 'string.link'],\r\n // or html\r\n { include: 'html' },\r\n ],\r\n // Note: it is tempting to rather switch to the real HTML mode instead of building our own here\r\n // but currently there is a limitation in Monarch that prevents us from doing it: The opening\r\n // '<' would start the HTML mode, however there is no way to jump 1 character back to let the\r\n // HTML mode also tokenize the opening angle bracket. Thus, even though we could jump to HTML,\r\n // we cannot correctly tokenize it in that mode yet.\r\n html: [\r\n // html tags\r\n [/<(\\w+)\\/>/, 'tag'],\r\n [/<(\\w+)/, {\r\n cases: {\r\n '@empty': { token: 'tag', next: '@tag.$1' },\r\n '@default': { token: 'tag', next: '@tag.$1' }\r\n }\r\n }],\r\n [/<\\/(\\w+)\\s*>/, { token: 'tag' }],\r\n [/\x3c!--/, 'comment', '@comment']\r\n ],\r\n comment: [\r\n [/[^<\\-]+/, 'comment.content'],\r\n [/--\x3e/, 'comment', '@pop'],\r\n [/\x3c!--/, 'comment.content.invalid'],\r\n [/[<\\-]/, 'comment.content']\r\n ],\r\n // Almost full HTML tag matching, complete with embedded scripts & styles\r\n tag: [\r\n [/[ \\t\\r\\n]+/, 'white'],\r\n [/(type)(\\s*=\\s*)(\")([^\"]+)(\")/, ['attribute.name.html', 'delimiter.html', 'string.html',\r\n { token: 'string.html', switchTo: '@tag.$S2.$4' },\r\n 'string.html']],\r\n [/(type)(\\s*=\\s*)(')([^']+)(')/, ['attribute.name.html', 'delimiter.html', 'string.html',\r\n { token: 'string.html', switchTo: '@tag.$S2.$4' },\r\n 'string.html']],\r\n [/(\\w+)(\\s*=\\s*)(\"[^\"]*\"|'[^']*')/, ['attribute.name.html', 'delimiter.html', 'string.html']],\r\n [/\\w+/, 'attribute.name.html'],\r\n [/\\/>/, 'tag', '@pop'],\r\n [/>/, {\r\n cases: {\r\n '$S2==style': { token: 'tag', switchTo: 'embeddedStyle', nextEmbedded: 'text/css' },\r\n '$S2==script': {\r\n cases: {\r\n '$S3': { token: 'tag', switchTo: 'embeddedScript', nextEmbedded: '$S3' },\r\n '@default': { token: 'tag', switchTo: 'embeddedScript', nextEmbedded: 'text/javascript' }\r\n }\r\n },\r\n '@default': { token: 'tag', next: '@pop' }\r\n }\r\n }],\r\n ],\r\n embeddedStyle: [\r\n [/[^<]+/, ''],\r\n [/<\\/style\\s*>/, { token: '@rematch', next: '@pop', nextEmbedded: '@pop' }],\r\n [/</, '']\r\n ],\r\n embeddedScript: [\r\n [/[^<]+/, ''],\r\n [/<\\/script\\s*>/, { token: '@rematch', next: '@pop', nextEmbedded: '@pop' }],\r\n [/</, '']\r\n ],\r\n }\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown.js?")}}]);