antosdk-apps/MonacoCore/bundle/node_modules_monaco-editor_esm_vs_basic-languages_markdown_markdown_js.bundle.js

22 lines
10 KiB
JavaScript
Raw Normal View History

2021-04-19 15:08:15 +02:00
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunkbrowser_esm_webpack"] = self["webpackChunkbrowser_esm_webpack"] || []).push([["node_modules_monaco-editor_esm_vs_basic-languages_markdown_markdown_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown.js":
/*!********************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/markdown/markdown.js ***!
\********************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"conf\": () => (/* binding */ conf),\n/* harmony export */ \"language\": () => (/* binding */ language)\n/* harmony export */ });\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\nvar conf = {\r\n comments: {\r\n blockComment: ['<!--', '-->']\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*<!--\\\\s*#?region\\\\b.*-->'),\r\n end: new RegExp('^\\\\s*<!--\\\\s*#?endregion\\\\b.*-->')\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',\r\n 'base',\r\n 'basefont',\r\n 'br',\r\n 'col',\r\n 'frame',\r\n 'hr',\r\n 'img',\r\n 'input',\r\n 'isindex',\r\n 'link',\r\n 'meta',\r\n '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 [\r\n /^(\\s{0,3})(#+)((?:[^\\\\#]|@escapes)+)((?:#+)?)/,\r\n ['white', 'keyword', 'keyword', 'keyword']\r\n ],\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 [\r\n /^\\s*```\\s*((?:\\w|[\\/\\-#])+).*$/,\r\n { token: 'string', next: '@codeblockgh', nextEmbedded: '$1' }\r\n ],\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'] // table header\r\n ],\r\n table_body: [{ include: '@table_common' }, { include: '@linecontent' }],\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 /\\|/,\r\n {\r\n cases: {\r\n '@eos
/***/ })
}]);