mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-05 04:04:10 +01:00
* Merge NPM Scripts: Added configuration option to change default click action #49282 * fix #50560 * Fix getmac test (#48804) * Cleaning up some typos in vscode.d.ts and vscode.proposed.d.ts (#50533) * yarn.lock changes * grid - log serialized state if restoring failed * Fixes #50382: Align .mtku with .detected-link * debug issues back to isidorn * Hide interactive playground commands from command palette (fixes #49706) * grid - drop outline as focus indication and rely on dimmed state * grid - allow to close empty group when closing all editors of a group * grid - get preferredSize from grid * Fixes #43003: Cannot specify a global problemMatcher in tasks.json * cleanup integrated terminal support for debugging * grid - action wording tweaks * #45663 Use core translations asset * grid - allow to close dirty diff editor if master is still opened in same group * Support to run npm install from a package node * grid - log previous UI state upon error * grid - stronger border top color otherwise when a tab is showing in a vertical split, the border collides with the sash border * remove todo * do not append logLevel #47774 * Implement Go To Next/Previous Breakpoint editor actions * Include enabledOnly in debug model interface * remove from schema #47774 * #45663 fix compilations * change openBreakpointSource to use IBreakpoint * return passed context if resourceOrContext is not useful * fix off by one issue * Simplify implementation * return context if it has a groupId * polish * Fixes Microsoft/monaco-editor#891: Focus editor when returning from context menu * go to next / previosu breakpoint minor polish * Add Endgame for 1.24 * fix index computing for editor close case * Fix #49145 - Enable/Disable viewlets by views when context - Move viewlet enablement/disablement to views service - Fix - adopt if a viewlet extension is disabled/removed * Avoid command palette entry (#49340) * [handlebars] code-folding algorithm is less useful than Indentation-based one. Fixes #48457 * use upper lang id * Fixes #49378 * #49145 Store placeholder states for all viewlets * Add `logicalLine` argument to `mutlicursor.insertBelow` and `mutlicursor.insertAbove` * Removed duplicate loop * eliminate code duplication; use resolveWorkspaceFolder() * #45663 Get all asset types * [css] update service * [html] update services * grid - fix compile * add User-Id to marketplace build requests * Improve rendererType description Fixes #50617 * fix #50672 * Fixes #49173 * fix #50321 * fix #50670 * Install option not needed when we have Install and Restart Fixes #50669 * Fixes #50616, Showing/hiding details in Issue Reporter resets scroll position * Fix #50642, fix #50673 * Issue reporter and process explorer windows should close when the parent window closes, fixes #50716 * Issue Reporter should clear the error state when selecting an extension, fixes #50702 * Extracting methods * Make sure we update the webview's state on setState * Avoid prompting for same file type in the same session #50537 * Use language name instead of locale in the prompt #50738 * Use correct failed error code for webview resource load error * Mark unused parameter * Restore restart * Try serializing webviews even if they have not called setState Fixes #50752 * Change parameter name to match interface name Fixes #50745 * Fix non-serializable webviews being revived if they called setState * Include recommended extensions in telemetry events to determine success * Fix #49777 - Emmet balance In after balance out should go back to initial selection and not first child (#49996) * Update Emmet - balance.ts * Cover all cases * Update prompt msg Fixes #50738 * Fix #50632 * search-rg has no icon * EH search - replace search.enableSearchProviders with a search-rg specific setting * fix #50742 * fix #50691 * part of #50760 * smoke: uncomment debug suite * smoketest: use yarn * grid - allow to close empty groups via middle click (#50733) * careful with path comparisons on windows related to #50760 * smoke: run yarn verbose * fix #50710 * Improve description (#43208) * fix #50722 * Fix #50663 * Fix #47586 * fixes #50609 * fixes #50026 * 💄 * fix #50773 * improve perf of findId and getElementById, #50575 * don't show outline when there are more then 7500 symbols, #50575 * fix typos * polish for #50667 * fix #50700 * grid keep sizing after branch node demotion fixes #50564 * grid - for now remove editorGroup.activeEmptyBackground * fix #50726 * grid: resize views when branch is demoted fixes #50675 * fix #50727 * fix #50734 * remove preview rant from search.location * splitview: dont propagate white-sapce property fixes #50720 * fix #50774 * Fixes #50296 * fix #50207 * Fixes #24670: Add API to determine if the task service supports parallel task execution. * fix #50741 * Fixes #49400: Cannot read property 'then' of undefined * Fix #50717 * Fix #48901 * polish debug.toolBarLocation fixes #50786 * Fix #50717 * missing compilation * Fix #48225 * fix #50711 * Fix errors installing extension from Welcome page (fixes #50753) * fixes #50794 * fixes #50787 * continuous build: use vsts npm feed * Fix for #50792: empty pre post scripts not rendered properly * Fix #50728 * continuous build: use vsts feed * Fix for #50792 npm exclude doesn´t work for folder names * Move previewOptions, #50788 * build: remove npm auth * better fix for #50710 * Revert "Merge pull request #49790 from usernamehw/raw_settings" This reverts commitf92a162b41, reversing changes made tofc710af792. * Remove unused variable * Fix regression in C# TextMate grammar related to lambda parameters This tweak fixes a regression recently introduced in the C# TextMate grammar around implicitly-typed lambda parameters. * https://github.com/dotnet/csharp-tmLanguage/issues/119 * https://github.com/dotnet/csharp-tmLanguage/issues/120 * Fix parameter not being escaped Fixes #49057 * wip: grid.getNeighborViews * Make sure we use normalized path for compare Fixes #50760 (the path should already have been normalized at this point so I don't think there is any user impact) * Clean up importModuleSpecifier wording Fixes #50817 * Remove duplicate strings and small cleanup * Spelling fix Ouoting -> Quoting * Restore default settings editor keybinding * Dont trigger emmet for # in selectors Fixes #49269 * Hide settings editor feedback button in stable * Use better colors for markdown code blocks * Moving webview api back to proposed for more polishing #49022 * Shorten showUnused setting name Fixes #50648 * fix #50678 * Don't include imports in js/ts document symbol results Fixes #50829 * smoketest: remove verbose from yarn * smoketest: clear state from failing search tests * minor rename * Fix markdown preview not setting context properly on first creation Fixes #50558 * smoketest: update to package-lock.json fixes #50857 * smoketest: bring back search tests * #48901 Expand by default only in custom viewlets * fixes #50812 * open editors: clear focus when group without editors is active fixes #50563 * Fix MaxNumber incrementFileName bug * Fixes #48758: Do not import standalone editor modules * fixes #50864 * Use `MAX_SAFE_SMALL_INTEGER` * Fixes #50858: Task api is still marked as proposed * fixes #50737 * fix #50867 * Fix: showQuickPick keeps showing infinite progress (fixes #50863) * Clarify for translation (fixes #50634) * fixes #50870 * fix #50479 * grid - todo@grid => todo@ben * grid - adopt new getNeighborViews() method * grid - add workbench.action.closeEditorsAndGroup * open editors: close group action fixes #50625 * open editors: use actionRunner for contexts fixes #50621 * [css][html] update service * grid: getNeighborViews * grid - adopt wrapping * Some menu action clients (ActionBar) handle alternative actions on their own so the alternative actions should be ignored fixes #50581 * fillInActionBarActions and fillInContextMenuActions for clarity * Remove inconsistent use of active in terminal API Related #48434 * Try using fixAllDescription for js/ts quick fixes Fixes #42549 * Fixes #50828, code-insiders --status triggered exception in main process * Pick up ts 2.9.1 final * Fix for #50868 and #50884 * Still gray out vars even if user has disabled suggestions Fixes #50890 * grid: fix neighbor npe issue * grid: more getNeighborViews tests * grid: use boundaries for neighbor finding * grid: getNeighborViews perf * grid: add todo * 2018-05-31. Merged in translations from Transifex. * Update GDPR annotation * update message * Add specific `refactor.move` scope for js/ts move to new file action * Use localized language name when available * Add proper contribution schema for ts server pluguins #50682 * Fix extra word * Fix #50909 - add link to new settings editor from old one * Left-align settings editor preview prompt * grid - fix issues with touchbar updating * grid - use viewColumnToEditorGroup in more places * grid - close all groups should preserve first group * Reapply fix for #50790 * grid - assign some default keybindings for focus group * Fixes #50763: All running Visual Studio code instances shutdown all at once * grid - 💄 * fixes #50926 * show alternative actions when alt is pressed, not only on mouse over * open editors: click on groups should activate them * update description (for #50677) * Fix #50835 * grid - tweak some groups access order * one more time, fix #50321 * beware of keybinding command null arguments fixes #50821 * grid - prevent multiple confirmation dialogs for the same editor to show up (for #50539) * smoketest: go-to-definition is flaky fixes #50944 fixes #49107 * Fixes #50943: TSC version 2.9.x in watch mode prints different end compile message * grid - fix bad === for editors * 💄 grid, cleanup getViews() * Update distro commit and third party notices * Use localizedLanguageName instead of languageNameLocalized which doesnt exist * Remove now unneeded any * Make sure unused diags are still updated when suggestions are disabled Fixes #50890 * Fix unused var * Update version * Update issue templates, #49380 * Fix #50893 - escape regex chars when copy search string from editor * Fix #50985 - don't take editor text when toggling search details
2398 lines
61 KiB
JSON
2398 lines
61 KiB
JSON
{
|
|
"information_for_contributors": [
|
|
"This file has been converted from https://github.com/microsoft/vscode-markdown-tm-grammar/blob/master/syntaxes/markdown.tmLanguage",
|
|
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
"Once accepted there, we are happy to receive an update request."
|
|
],
|
|
"version": "https://github.com/microsoft/vscode-markdown-tm-grammar/commit/ab08007feb924996eff9399c169f171fa17899ca",
|
|
"name": "Markdown",
|
|
"scopeName": "text.html.markdown",
|
|
"patterns": [
|
|
{
|
|
"include": "#frontMatter"
|
|
},
|
|
{
|
|
"include": "#block"
|
|
}
|
|
],
|
|
"repository": {
|
|
"block": {
|
|
"patterns": [
|
|
{
|
|
"include": "#separator"
|
|
},
|
|
{
|
|
"include": "#heading"
|
|
},
|
|
{
|
|
"include": "#blockquote"
|
|
},
|
|
{
|
|
"include": "#lists"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_css"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_basic"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_ini"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_java"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_lua"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_makefile"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_perl"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_r"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_ruby"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_php"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_sql"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_vs_net"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_xml"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_xsl"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_yaml"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_dosbatch"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_clojure"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_coffee"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_c"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_cpp"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_diff"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_dockerfile"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_git_commit"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_git_rebase"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_go"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_groovy"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_pug"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_js"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_js_regexp"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_json"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_less"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_objc"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_scss"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_perl6"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_powershell"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_python"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_regexp_python"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_rust"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_scala"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_shell"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_ts"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_tsx"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_csharp"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_fsharp"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_dart"
|
|
},
|
|
{
|
|
"include": "#fenced_code_block_unknown"
|
|
},
|
|
{
|
|
"include": "#raw_block"
|
|
},
|
|
{
|
|
"include": "#link-def"
|
|
},
|
|
{
|
|
"include": "#html"
|
|
},
|
|
{
|
|
"include": "#paragraph"
|
|
}
|
|
],
|
|
"repository": {
|
|
"blockquote": {
|
|
"begin": "(^|\\G)[ ]{0,3}(>) ?",
|
|
"captures": {
|
|
"2": {
|
|
"name": "beginning.punctuation.definition.quote.markdown"
|
|
}
|
|
},
|
|
"name": "markup.quote.markdown",
|
|
"patterns": [
|
|
{
|
|
"include": "#block"
|
|
}
|
|
],
|
|
"while": "(^|\\G)\\s*(>) ?"
|
|
},
|
|
"fenced_code_block_css": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(css|css.erb)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.css",
|
|
"patterns": [
|
|
{
|
|
"include": "source.css"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_basic": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(html|htm|shtml|xhtml|inc|tmpl|tpl)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.html",
|
|
"patterns": [
|
|
{
|
|
"include": "text.html.basic"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_ini": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.ini",
|
|
"patterns": [
|
|
{
|
|
"include": "source.ini"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_java": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(java|bsh)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.java",
|
|
"patterns": [
|
|
{
|
|
"include": "source.java"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_lua": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(lua)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.lua",
|
|
"patterns": [
|
|
{
|
|
"include": "source.lua"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_makefile": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(Makefile|makefile|GNUmakefile|OCamlMakefile)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.makefile",
|
|
"patterns": [
|
|
{
|
|
"include": "source.makefile"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_perl": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.perl",
|
|
"patterns": [
|
|
{
|
|
"include": "source.perl"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_r": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(R|r|s|S|Rprofile)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.r",
|
|
"patterns": [
|
|
{
|
|
"include": "source.r"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_ruby": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ruby|rb|rbx|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.ruby",
|
|
"patterns": [
|
|
{
|
|
"include": "source.ruby"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_php": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(php|php3|php4|php5|phpt|phtml|aw|ctp)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.php",
|
|
"patterns": [
|
|
{
|
|
"include": "text.html.basic"
|
|
},
|
|
{
|
|
"include": "source.php"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_sql": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(sql|ddl|dml)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.sql",
|
|
"patterns": [
|
|
{
|
|
"include": "source.sql"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_vs_net": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vb)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.vs_net",
|
|
"patterns": [
|
|
{
|
|
"include": "source.asp.vb.net"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_xml": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.xml",
|
|
"patterns": [
|
|
{
|
|
"include": "text.xml"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_xsl": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xsl|xslt)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.xsl",
|
|
"patterns": [
|
|
{
|
|
"include": "text.xml.xsl"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_yaml": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(yaml|yml)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.yaml",
|
|
"patterns": [
|
|
{
|
|
"include": "source.yaml"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_dosbatch": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(bat|batch)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.dosbatch",
|
|
"patterns": [
|
|
{
|
|
"include": "source.dosbatch"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_clojure": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(clj|cljs|clojure)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.clojure",
|
|
"patterns": [
|
|
{
|
|
"include": "source.clojure"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_coffee": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(coffee|Cakefile|coffee.erb)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.coffee",
|
|
"patterns": [
|
|
{
|
|
"include": "source.coffee"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_c": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(c|h)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.c",
|
|
"patterns": [
|
|
{
|
|
"include": "source.c"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_cpp": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cpp|c\\+\\+|cxx)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.cpp",
|
|
"patterns": [
|
|
{
|
|
"include": "source.cpp"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_diff": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(patch|diff|rej)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.diff",
|
|
"patterns": [
|
|
{
|
|
"include": "source.diff"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_dockerfile": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dockerfile|Dockerfile)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.dockerfile",
|
|
"patterns": [
|
|
{
|
|
"include": "source.dockerfile"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_git_commit": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(COMMIT_EDITMSG|MERGE_MSG)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.git_commit",
|
|
"patterns": [
|
|
{
|
|
"include": "text.git-commit"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_git_rebase": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(git-rebase-todo)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.git_rebase",
|
|
"patterns": [
|
|
{
|
|
"include": "text.git-rebase"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_go": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(go|golang)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.go",
|
|
"patterns": [
|
|
{
|
|
"include": "source.go"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_groovy": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(groovy|gvy)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.groovy",
|
|
"patterns": [
|
|
{
|
|
"include": "source.groovy"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_pug": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jade|pug)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.pug",
|
|
"patterns": [
|
|
{
|
|
"include": "text.pug"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_js": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.javascript",
|
|
"patterns": [
|
|
{
|
|
"include": "source.js"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_js_regexp": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(regexp)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.js_regexp",
|
|
"patterns": [
|
|
{
|
|
"include": "source.js.regexp"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_json": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(json|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.json",
|
|
"patterns": [
|
|
{
|
|
"include": "source.json"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_less": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(less)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.less",
|
|
"patterns": [
|
|
{
|
|
"include": "source.css.less"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_objc": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(objectivec|objective-c|mm|objc|obj-c|m|h)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.objc",
|
|
"patterns": [
|
|
{
|
|
"include": "source.objc"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_scss": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scss)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.scss",
|
|
"patterns": [
|
|
{
|
|
"include": "source.css.scss"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_perl6": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl6|p6|pl6|pm6|nqp)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.perl6",
|
|
"patterns": [
|
|
{
|
|
"include": "source.perl.6"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_powershell": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(powershell|ps1|psm1|psd1)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.powershell",
|
|
"patterns": [
|
|
{
|
|
"include": "source.powershell"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_python": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(python|py|py3|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gyp|gypi)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.python",
|
|
"patterns": [
|
|
{
|
|
"include": "source.python"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_regexp_python": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(re)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.regexp_python",
|
|
"patterns": [
|
|
{
|
|
"include": "source.regexp.python"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_rust": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|rs)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.rust",
|
|
"patterns": [
|
|
{
|
|
"include": "source.rust"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_scala": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scala|sbt)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.scala",
|
|
"patterns": [
|
|
{
|
|
"include": "source.scala"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_shell": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.shellscript",
|
|
"patterns": [
|
|
{
|
|
"include": "source.shell"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_ts": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(typescript|ts)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.typescript",
|
|
"patterns": [
|
|
{
|
|
"include": "source.ts"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_tsx": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(tsx)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.typescriptreact",
|
|
"patterns": [
|
|
{
|
|
"include": "source.tsx"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_csharp": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cs|csharp|c#)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.csharp",
|
|
"patterns": [
|
|
{
|
|
"include": "source.cs"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_fsharp": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(fs|fsharp|f#)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.fsharp",
|
|
"patterns": [
|
|
{
|
|
"include": "source.fsharp"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_dart": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dart)(\\s+[^`~]*)?$)",
|
|
"name": "markup.fenced_code.block.markdown",
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"5": {
|
|
"name": "fenced_code.block.language"
|
|
},
|
|
"6": {
|
|
"name": "fenced_code.block.language.attributes"
|
|
}
|
|
},
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)(\\s*)(.*)",
|
|
"while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
|
|
"contentName": "meta.embedded.block.dart",
|
|
"patterns": [
|
|
{
|
|
"include": "source.dart"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"fenced_code_block_unknown": {
|
|
"begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?=([^`~]*)?$)",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
},
|
|
"4": {
|
|
"name": "fenced_code.block.language"
|
|
}
|
|
},
|
|
"end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
|
|
"endCaptures": {
|
|
"3": {
|
|
"name": "punctuation.definition.markdown"
|
|
}
|
|
},
|
|
"name": "markup.fenced_code.block.markdown"
|
|
},
|
|
"heading": {
|
|
"match": "(?:^|\\G)[ ]{0,3}((#{1,6})\\s*(?=[\\S[^#]]).*?\\s*(#{1,6})?)$\\n?",
|
|
"captures": {
|
|
"1": {
|
|
"patterns": [
|
|
{
|
|
"match": "(#{6})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
|
|
"name": "heading.6.markdown",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
},
|
|
"2": {
|
|
"name": "entity.name.section.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"match": "(#{5})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
|
|
"name": "heading.5.markdown",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
},
|
|
"2": {
|
|
"name": "entity.name.section.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"match": "(#{4})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
|
|
"name": "heading.4.markdown",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
},
|
|
"2": {
|
|
"name": "entity.name.section.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"match": "(#{3})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
|
|
"name": "heading.3.markdown",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
},
|
|
"2": {
|
|
"name": "entity.name.section.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"match": "(#{2})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
|
|
"name": "heading.2.markdown",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
},
|
|
"2": {
|
|
"name": "entity.name.section.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"match": "(#{1})\\s*(?=[\\S[^#]])(.*?)\\s*(\\s+#+)?$\\n?",
|
|
"name": "heading.1.markdown",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
},
|
|
"2": {
|
|
"name": "entity.name.section.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.heading.markdown"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"name": "markup.heading.markdown",
|
|
"patterns": [
|
|
{
|
|
"include": "#inline"
|
|
}
|
|
]
|
|
},
|
|
"heading-setext": {
|
|
"patterns": [
|
|
{
|
|
"match": "^(={3,})(?=[ \\t]*$\\n?)",
|
|
"name": "markup.heading.setext.1.markdown"
|
|
},
|
|
{
|
|
"match": "^(-{3,})(?=[ \\t]*$\\n?)",
|
|
"name": "markup.heading.setext.2.markdown"
|
|
}
|
|
]
|
|
},
|
|
"html": {
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)\\s*(<!--)",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.comment.html"
|
|
},
|
|
"2": {
|
|
"name": "punctuation.definition.comment.html"
|
|
}
|
|
},
|
|
"end": "(-->)",
|
|
"name": "comment.block.html"
|
|
},
|
|
{
|
|
"begin": "(^|\\G)\\s*(?=<(script|style|pre)(\\s|$|>)(?!.*?</(script|style|pre)>))",
|
|
"end": "(?=.*</(script|style|pre)>)",
|
|
"patterns": [
|
|
{
|
|
"begin": "(\\s*|$)",
|
|
"patterns": [
|
|
{
|
|
"include": "text.html.basic"
|
|
}
|
|
],
|
|
"while": "^(?!.*</(script|style|pre)>)"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"begin": "(^|\\G)\\s*(?=</?(address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(\\s|$|/?>))",
|
|
"patterns": [
|
|
{
|
|
"include": "text.html.basic"
|
|
}
|
|
],
|
|
"while": "^(?!\\s*$)"
|
|
},
|
|
{
|
|
"begin": "(^|\\G)\\s*(?=(<[a-zA-Z0-9\\-](/?>|\\s.*?>)|</[a-zA-Z0-9\\-]>)\\s*$)",
|
|
"patterns": [
|
|
{
|
|
"include": "text.html.basic"
|
|
}
|
|
],
|
|
"while": "^(?!\\s*$)"
|
|
}
|
|
]
|
|
},
|
|
"link-def": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.constant.markdown"
|
|
},
|
|
"2": {
|
|
"name": "constant.other.reference.link.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.constant.markdown"
|
|
},
|
|
"4": {
|
|
"name": "punctuation.separator.key-value.markdown"
|
|
},
|
|
"5": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
},
|
|
"6": {
|
|
"name": "markup.underline.link.markdown"
|
|
},
|
|
"7": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
},
|
|
"8": {
|
|
"name": "string.other.link.description.title.markdown"
|
|
},
|
|
"9": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"10": {
|
|
"name": "punctuation.definition.string.end.markdown"
|
|
},
|
|
"11": {
|
|
"name": "string.other.link.description.title.markdown"
|
|
},
|
|
"12": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"13": {
|
|
"name": "punctuation.definition.string.end.markdown"
|
|
}
|
|
},
|
|
"match": "(?x)\n \\s* # Leading whitespace\n (\\[)(.+?)(\\])(:) # Reference name\n [ \\t]* # Optional whitespace\n (<?)(\\S+?)(>?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in quotes…\n | ((\").+?(\")) # or in parens.\n )? # Title is optional\n \\s* # Optional whitespace\n $\n",
|
|
"name": "meta.link.reference.def.markdown"
|
|
},
|
|
"list_paragraph": {
|
|
"begin": "(^|\\G)(?=\\S)(?![*+->]\\s|[0-9]+\\.\\s)",
|
|
"name": "meta.paragraph.markdown",
|
|
"patterns": [
|
|
{
|
|
"include": "#inline"
|
|
},
|
|
{
|
|
"include": "text.html.basic"
|
|
},
|
|
{
|
|
"include": "#heading-setext"
|
|
}
|
|
],
|
|
"while": "(^|\\G)(?!\\s*$|#|[ ]{0,3}([-*_>][ ]{2,}){3,}[ \\t]*$\\n?|[ ]{0,3}[*+->]|[ ]{0,3}[0-9]+\\.)"
|
|
},
|
|
"lists": {
|
|
"patterns": [
|
|
{
|
|
"begin": "(^|\\G)([ ]{0,3})([*+-])([ ]{1,3}|\\t)",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "beginning.punctuation.definition.list.markdown"
|
|
}
|
|
},
|
|
"comment": "Currently does not support un-indented second lines.",
|
|
"name": "markup.list.unnumbered.markdown",
|
|
"patterns": [
|
|
{
|
|
"include": "#block"
|
|
},
|
|
{
|
|
"include": "#list_paragraph"
|
|
}
|
|
],
|
|
"while": "((^|\\G)([ ]{4}|\\t))|(^[ \\t]*$)"
|
|
},
|
|
{
|
|
"begin": "(^|\\G)([ ]{0,3})([0-9]+\\.)([ ]{1,3}|\\t)",
|
|
"beginCaptures": {
|
|
"3": {
|
|
"name": "beginning.punctuation.definition.list.markdown"
|
|
}
|
|
},
|
|
"name": "markup.list.numbered.markdown",
|
|
"patterns": [
|
|
{
|
|
"include": "#block"
|
|
},
|
|
{
|
|
"include": "#list_paragraph"
|
|
}
|
|
],
|
|
"while": "((^|\\G)([ ]{4}|\\t))|(^[ \\t]*$)"
|
|
}
|
|
]
|
|
},
|
|
"paragraph": {
|
|
"begin": "(^|\\G)[ ]{0,3}(?=\\S)",
|
|
"name": "meta.paragraph.markdown",
|
|
"patterns": [
|
|
{
|
|
"include": "#inline"
|
|
},
|
|
{
|
|
"include": "text.html.basic"
|
|
},
|
|
{
|
|
"include": "#heading-setext"
|
|
}
|
|
],
|
|
"while": "(^|\\G)((?=\\s*[-=]{3,}\\s*$)|[ ]{4,}(?=\\S))"
|
|
},
|
|
"raw_block": {
|
|
"begin": "(^|\\G)([ ]{4}|\\t)",
|
|
"name": "markup.raw.block.markdown",
|
|
"while": "(^|\\G)([ ]{4}|\\t)"
|
|
},
|
|
"separator": {
|
|
"match": "(^|\\G)[ ]{0,3}([*-_])([ ]{0,2}\\2){2,}[ \\t]*$\\n?",
|
|
"name": "meta.separator.markdown"
|
|
}
|
|
}
|
|
},
|
|
"frontMatter": {
|
|
"begin": "\\A-{3}\\s*$",
|
|
"contentName": "meta.embedded.block.frontmatter",
|
|
"patterns": [
|
|
{
|
|
"include": "source.yaml"
|
|
}
|
|
],
|
|
"while": "^(?!(-{3}|\\.{3})\\s*$)"
|
|
},
|
|
"inline": {
|
|
"patterns": [
|
|
{
|
|
"include": "#ampersand"
|
|
},
|
|
{
|
|
"include": "#bracket"
|
|
},
|
|
{
|
|
"include": "#bold"
|
|
},
|
|
{
|
|
"include": "#italic"
|
|
},
|
|
{
|
|
"include": "#raw"
|
|
},
|
|
{
|
|
"include": "#escape"
|
|
},
|
|
{
|
|
"include": "#image-inline"
|
|
},
|
|
{
|
|
"include": "#image-ref"
|
|
},
|
|
{
|
|
"include": "#link-email"
|
|
},
|
|
{
|
|
"include": "#link-inet"
|
|
},
|
|
{
|
|
"include": "#link-inline"
|
|
},
|
|
{
|
|
"include": "#link-ref"
|
|
},
|
|
{
|
|
"include": "#link-ref-literal"
|
|
}
|
|
],
|
|
"repository": {
|
|
"ampersand": {
|
|
"comment": "Markdown will convert this for us. We match it so that the HTML grammar will not mark it up as invalid.",
|
|
"match": "&(?!([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);)",
|
|
"name": "meta.other.valid-ampersand.markdown"
|
|
},
|
|
"bold": {
|
|
"begin": "(?x)\n ((?<!\\w)\\*\\*\\b|\\b__)(?=\\S) # Open\n (?=\n (\n <[^>]*+> # HTML tags\n | (?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>\n # Raw\n | \\\\[\\\\`*_{}\\[\\]()#.!+\\->]?+ # Escapes\n | \\[\n (\n (?<square> # Named group\n [^\\[\\]\\\\] # Match most chars\n | \\\\. # Escaped chars\n | \\[ \\g<square>*+ \\] # Nested brackets\n )*+\n \\]\n (\n ( # Reference Link\n [ ]? # Optional space\n \\[[^\\]]*+\\] # Ref name\n )\n | ( # Inline Link\n \\( # Opening paren\n [ \\t]*+ # Optional whitespace\n <?(.*?)>? # URL\n [ \\t]*+ # Optional whitespace\n ( # Optional Title\n (?<title>['\"])\n (.*?)\n \\k<title>\n )?\n \\)\n )\n )\n )\n | (?!(?<=\\S)\\1). # Everything besides\n # style closer\n )++\n (?<=\\S)(?=__\\b|\\*\\*)\\1 # Close\n )\n",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.bold.markdown"
|
|
}
|
|
},
|
|
"end": "(?<=\\S)(\\1)",
|
|
"name": "markup.bold.markdown",
|
|
"patterns": [
|
|
{
|
|
"applyEndPatternLast": 1,
|
|
"begin": "(?=<[^>]*?>)",
|
|
"end": "(?<=>)",
|
|
"patterns": [
|
|
{
|
|
"include": "text.html.basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"include": "#escape"
|
|
},
|
|
{
|
|
"include": "#ampersand"
|
|
},
|
|
{
|
|
"include": "#bracket"
|
|
},
|
|
{
|
|
"include": "#raw"
|
|
},
|
|
{
|
|
"include": "#bold"
|
|
},
|
|
{
|
|
"include": "#italic"
|
|
},
|
|
{
|
|
"include": "#image-inline"
|
|
},
|
|
{
|
|
"include": "#link-inline"
|
|
},
|
|
{
|
|
"include": "#link-inet"
|
|
},
|
|
{
|
|
"include": "#link-email"
|
|
},
|
|
{
|
|
"include": "#image-ref"
|
|
},
|
|
{
|
|
"include": "#link-ref-literal"
|
|
},
|
|
{
|
|
"include": "#link-ref"
|
|
}
|
|
]
|
|
},
|
|
"bracket": {
|
|
"comment": "Markdown will convert this for us. We match it so that the HTML grammar will not mark it up as invalid.",
|
|
"match": "<(?![a-z/?\\$!])",
|
|
"name": "meta.other.valid-bracket.markdown"
|
|
},
|
|
"escape": {
|
|
"match": "\\\\[-`*_#+.!(){}\\[\\]\\\\>]",
|
|
"name": "constant.character.escape.markdown"
|
|
},
|
|
"image-inline": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"2": {
|
|
"name": "string.other.link.description.markdown"
|
|
},
|
|
"4": {
|
|
"name": "punctuation.definition.string.end.markdown"
|
|
},
|
|
"5": {
|
|
"name": "punctuation.definition.metadata.markdown"
|
|
},
|
|
"6": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
},
|
|
"7": {
|
|
"name": "markup.underline.link.image.markdown"
|
|
},
|
|
"8": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
},
|
|
"9": {
|
|
"name": "string.other.link.description.title.markdown"
|
|
},
|
|
"10": {
|
|
"name": "punctuation.definition.string.markdown"
|
|
},
|
|
"11": {
|
|
"name": "punctuation.definition.string.markdown"
|
|
},
|
|
"12": {
|
|
"name": "string.other.link.description.title.markdown"
|
|
},
|
|
"13": {
|
|
"name": "punctuation.definition.string.markdown"
|
|
},
|
|
"14": {
|
|
"name": "punctuation.definition.string.markdown"
|
|
},
|
|
"15": {
|
|
"name": "punctuation.definition.metadata.markdown"
|
|
}
|
|
},
|
|
"match": "(?x)\n (\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (<?)(\\S+?)(>?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
|
|
"name": "meta.image.inline.markdown"
|
|
},
|
|
"image-ref": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"2": {
|
|
"name": "string.other.link.description.markdown"
|
|
},
|
|
"4": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"5": {
|
|
"name": "punctuation.definition.constant.markdown"
|
|
},
|
|
"6": {
|
|
"name": "constant.other.reference.link.markdown"
|
|
},
|
|
"7": {
|
|
"name": "punctuation.definition.constant.markdown"
|
|
}
|
|
},
|
|
"match": "(\\!\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])[ ]?(\\[)(.*?)(\\])",
|
|
"name": "meta.image.reference.markdown"
|
|
},
|
|
"italic": {
|
|
"begin": "(?x) (\\*\\b|\\b_)(?=\\S) # Open\n (?=\n (\n <[^>]*+> # HTML tags\n | (?<raw>`+)([^`]|(?!(?<!`)\\k<raw>(?!`))`)*+\\k<raw>\n # Raw\n | \\\\[\\\\`*_{}\\[\\]()#.!+\\->]?+ # Escapes\n | \\[\n (\n (?<square> # Named group\n [^\\[\\]\\\\] # Match most chars\n | \\\\. # Escaped chars\n | \\[ \\g<square>*+ \\] # Nested brackets\n )*+\n \\]\n (\n ( # Reference Link\n [ ]? # Optional space\n \\[[^\\]]*+\\] # Ref name\n )\n | ( # Inline Link\n \\( # Opening paren\n [ \\t]*+ # Optional whtiespace\n <?(.*?)>? # URL\n [ \\t]*+ # Optional whtiespace\n ( # Optional Title\n (?<title>['\"])\n (.*?)\n \\k<title>\n )?\n \\)\n )\n )\n )\n | \\1\\1 # Must be bold closer\n | (?!(?<=\\S)\\1). # Everything besides\n # style closer\n )++\n (?<=\\S)(?=_\\b|\\*)\\1 # Close\n )\n",
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.italic.markdown"
|
|
}
|
|
},
|
|
"end": "(?<=\\S)(\\1)((?!\\1)|(?=\\1\\1))",
|
|
"name": "markup.italic.markdown",
|
|
"patterns": [
|
|
{
|
|
"applyEndPatternLast": 1,
|
|
"begin": "(?=<[^>]*?>)",
|
|
"end": "(?<=>)",
|
|
"patterns": [
|
|
{
|
|
"include": "text.html.basic"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"include": "#escape"
|
|
},
|
|
{
|
|
"include": "#ampersand"
|
|
},
|
|
{
|
|
"include": "#bracket"
|
|
},
|
|
{
|
|
"include": "#raw"
|
|
},
|
|
{
|
|
"include": "#bold"
|
|
},
|
|
{
|
|
"include": "#image-inline"
|
|
},
|
|
{
|
|
"include": "#link-inline"
|
|
},
|
|
{
|
|
"include": "#link-inet"
|
|
},
|
|
{
|
|
"include": "#link-email"
|
|
},
|
|
{
|
|
"include": "#image-ref"
|
|
},
|
|
{
|
|
"include": "#link-ref-literal"
|
|
},
|
|
{
|
|
"include": "#link-ref"
|
|
}
|
|
]
|
|
},
|
|
"link-email": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
},
|
|
"2": {
|
|
"name": "markup.underline.link.markdown"
|
|
},
|
|
"4": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
}
|
|
},
|
|
"match": "(<)((?:mailto:)?[-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(>)",
|
|
"name": "meta.link.email.lt-gt.markdown"
|
|
},
|
|
"link-inet": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
},
|
|
"2": {
|
|
"name": "markup.underline.link.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
}
|
|
},
|
|
"match": "(<)((?:https?|ftp)://.*?)(>)",
|
|
"name": "meta.link.inet.markdown"
|
|
},
|
|
"link-inline": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"2": {
|
|
"name": "string.other.link.title.markdown"
|
|
},
|
|
"4": {
|
|
"name": "punctuation.definition.string.end.markdown"
|
|
},
|
|
"5": {
|
|
"name": "punctuation.definition.metadata.markdown"
|
|
},
|
|
"6": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
},
|
|
"7": {
|
|
"name": "markup.underline.link.markdown"
|
|
},
|
|
"8": {
|
|
"name": "punctuation.definition.link.markdown"
|
|
},
|
|
"9": {
|
|
"name": "string.other.link.description.title.markdown"
|
|
},
|
|
"10": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"11": {
|
|
"name": "punctuation.definition.string.end.markdown"
|
|
},
|
|
"12": {
|
|
"name": "string.other.link.description.title.markdown"
|
|
},
|
|
"13": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"14": {
|
|
"name": "punctuation.definition.string.end.markdown"
|
|
},
|
|
"15": {
|
|
"name": "punctuation.definition.metadata.markdown"
|
|
}
|
|
},
|
|
"match": "(?x)\n (\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (<?)(.*?)(>?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n",
|
|
"name": "meta.link.inline.markdown"
|
|
},
|
|
"link-ref": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"2": {
|
|
"name": "string.other.link.title.markdown"
|
|
},
|
|
"4": {
|
|
"name": "punctuation.definition.string.end.markdown"
|
|
},
|
|
"5": {
|
|
"name": "punctuation.definition.constant.begin.markdown"
|
|
},
|
|
"6": {
|
|
"name": "constant.other.reference.link.markdown"
|
|
},
|
|
"7": {
|
|
"name": "punctuation.definition.constant.end.markdown"
|
|
}
|
|
},
|
|
"match": "(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])(\\[)([^\\]]*+)(\\])",
|
|
"name": "meta.link.reference.markdown"
|
|
},
|
|
"link-ref-literal": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.string.begin.markdown"
|
|
},
|
|
"2": {
|
|
"name": "string.other.link.title.markdown"
|
|
},
|
|
"4": {
|
|
"name": "punctuation.definition.string.end.markdown"
|
|
},
|
|
"5": {
|
|
"name": "punctuation.definition.constant.begin.markdown"
|
|
},
|
|
"6": {
|
|
"name": "punctuation.definition.constant.end.markdown"
|
|
}
|
|
},
|
|
"match": "(\\[)((?<square>[^\\[\\]\\\\]|\\\\.|\\[\\g<square>*+\\])*+)(\\])[ ]?(\\[)(\\])",
|
|
"name": "meta.link.reference.literal.markdown"
|
|
},
|
|
"raw": {
|
|
"captures": {
|
|
"1": {
|
|
"name": "punctuation.definition.raw.markdown"
|
|
},
|
|
"3": {
|
|
"name": "punctuation.definition.raw.markdown"
|
|
}
|
|
},
|
|
"match": "(`+)([^`]|(?!(?<!`)\\1(?!`))`)*+(\\1)",
|
|
"name": "markup.inline.raw.string.markdown"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |