ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type MarkdownIt from 'markdown-it';
const mermaidLanguageId = 'mermaid';
const containerTokenName = 'mermaidContainer';
const minMarkers = 3;
const markerStr = ':';
const markerChar = markerStr.charCodeAt(0);
const markerLen = markerStr.length;
/**
* Extends markdown-it so that it can render mermaid diagrams.
*
* This does not actually implement rendering of mermaid diagrams. Instead we just make sure that mermaid
* block syntax is properly parsed by markdown-it. All actual mermaid rendering happens in the webview
* where the markdown is rendered.
*/
export function extendMarkdownItWithMermaid(md: MarkdownIt, config: MarkdownIt
mdmd MarkdownIt
state MarkdownItStateBlock startLine endLine silent
pos
autoClosed
start statebMarksstartLine statetShiftstartLine
max stateeMarksstartLine
markerChar statesrcstart
pos start pos max pos
markerStrpos start markerLen statesrcpos
markerCount Mathpos start markerLen
markerCount minMarkers
pos pos start markerLen
markup statesrcstart pos
params statesrcpos max
params mermaidLanguageId
silent
nextLine startLine
nextLine
nextLine endLine
start statebMarksnextLine statetShiftnextLine
max stateeMarksnextLine
start max statesCountnextLine stateblkIndent
markerChar statesrcstart
statesCountnextLine stateblkIndent
pos start pos max pos
markerStrpos start markerLen statesrcpos
Mathpos start markerLen markerCount
pos pos start markerLen
pos statepos
pos max
autoClosed
oldParent stateparentType
oldLineMax statelineMax
stateparentType MarkdownItStateBlockParentType
statelineMax nextLine
containerToken statecontainerTokenName
containerTokenmarkup markup
containerTokenblock
containerTokeninfo params
containerTokenmap startLine nextLine
containerTokencontent statestartLine nextLine stateblkIndent
stateparentType oldParent
statelineMax oldLineMax
stateline nextLine autoClosed
mdblockruler containerTokenName container
alt
mdrendererrulescontainerTokenName tokens MarkdownItToken idx
token tokensidx
src tokencontent
highlight mdoptionshighlight
mdoptions code lang attrs
reg configescapeRegExp
lang reglang
highlightcode lang attrs code
md
source
source