Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/datalayer/jupyter-ui
/ functions
Functions
2,365 in github.com/datalayer/jupyter-ui
⨍
Functions
2,365
◇
Types & classes
540
↓ 2 callers
Function
delayedCallback
()
packages/lexical/src/plugins/TableActionMenuPlugin/index.tsx:764
↓ 2 callers
Method
deleteCell
* Delete multiple cells at the specified indices. * Handles complex logic including validation and reverse-order deletion. * * @param indices
packages/react/src/components/notebook/NotebookAdapter.ts:497
↓ 2 callers
Method
deleteCommentOrThread
* Delete a comment from a thread or delete an entire thread. * Updates CommentThreadNode in the Lexical editor state, which automatically * sync
packages/lexical/src/components/Commenting.tsx:166
↓ 2 callers
Function
detectContentType
* Detect content type based on cursor position. * Returns 'code' if inside a JupyterInputNode, 'prose' otherwise. * * @param anchorNode - The node
packages/lexical/src/plugins/LexicalInlineCompletionPlugin.tsx:932
↓ 2 callers
Method
dispose
Dispose of the provider and clean up resources
packages/lexical/src/plugins/lspTypes.ts:104
↓ 2 callers
Function
doIndent
(node: JupyterInputHighlightNode, type: LexicalCommand<void>)
packages/lexical/src/nodes/JupyterInputHighlighter.ts:443
↓ 2 callers
Function
exec
()
packages/react/src/examples/Kernels.tsx:37
↓ 2 callers
Method
execute
* Execute a code snippet * * @param code The code snippet * @param options Callbacks on IOPub messages and on reply message, * outputs mo
packages/react/src/jupyter/kernel/Kernel.ts:210
↓ 2 callers
Function
exportChildren
(node: ElementNode)
packages/lexical/src/convert/markdown/convertToMarkdown.ts:58
↓ 2 callers
Function
exportTextFormat
( node: TextNode, textContent: string, textTransformers: Array<TextFormatTransformer>, )
packages/lexical/src/convert/markdown/MarkdownExport.ts:126
↓ 2 callers
Function
exportTextNode
( node: TextNode, textContent: string, parentNode: ElementNode, )
packages/lexical/src/convert/markdown/convertToMarkdown.ts:88
↓ 2 callers
Function
exportTopLevelElements
( node: LexicalNode, elementTransformers: Array<ElementTransformer>, textTransformersIndex: Array<TextFo
packages/lexical/src/convert/markdown/MarkdownExport.ts:61
↓ 2 callers
Function
extractContext
( contentType: ContentType, anchorNode: LexicalNode, selection: RangeSelection, contextBefore: number,
packages/lexical/src/plugins/InlineCompletionContextExtractor.ts:45
↓ 2 callers
Function
extractToolName
(filePath)
packages/react/scripts/validate-tools-sync.js:37
↓ 2 callers
Function
extractToolName
(filePath)
packages/lexical/scripts/validate-tools-sync.js:37
↓ 2 callers
Function
findJupyterInputParent
* Find the JupyterInputNode parent of a node
packages/lexical/src/plugins/LSPTabCompletionPlugin.tsx:120
↓ 2 callers
Method
finish
()
packages/react/src/components/jupyterlab/JupyterLabAppAdapter.ts:270
↓ 2 callers
Function
formatBulletList
(editor: LexicalEditor, blockType: string)
packages/lexical/src/plugins/ToolbarPlugin/utils.ts:176
↓ 2 callers
Function
formatCheckList
(editor: LexicalEditor, blockType: string)
packages/lexical/src/plugins/ToolbarPlugin/utils.ts:184
↓ 2 callers
Function
formatCode
(editor: LexicalEditor, blockType: string)
packages/lexical/src/plugins/ToolbarPlugin/utils.ts:212
↓ 2 callers
Function
formatNumberedList
( editor: LexicalEditor, blockType: string, )
packages/lexical/src/plugins/ToolbarPlugin/utils.ts:192
↓ 2 callers
Function
formatQuote
(editor: LexicalEditor, blockType: string)
packages/lexical/src/plugins/ToolbarPlugin/utils.ts:203
↓ 2 callers
Method
getCell
* Get a cell's content by index or active cell (aligned with getCell tool and MCP Server). * * @param index - Optional cell index (0-based). If
packages/react/src/components/notebook/NotebookAdapter.ts:572
↓ 2 callers
Method
getCells
* Get all cells from the notebook. * * @returns Array of cell data including type, source, and outputs * * @remarks * This method extra
packages/react/src/components/notebook/NotebookAdapter.ts:289
↓ 2 callers
Function
getCodeDOMNode
()
packages/lexical/src/plugins/CodeActionMenuPlugin.tsx:46
↓ 2 callers
Function
getCodeDOMNode
()
packages/lexical/src/plugins/CodeActionMenuPlugin/index.tsx:50
↓ 2 callers
Function
getCollapsedMargins
(elem: HTMLElement)
packages/lexical/src/plugins/DraggableBlockPlugin.tsx:56
↓ 2 callers
Method
getConfig
* Get configuration for a language * * @param language - Language identifier * @returns Language config or undefined if not found
packages/lexical/src/autoindent/LanguageIndentRegistry.ts:119
↓ 2 callers
Method
getCount
()
packages/lexical/src/nodes/CounterNode.tsx:81
↓ 2 callers
Function
getCursorOffset
* Get accurate cursor offset using Lexical selection API
packages/lexical/src/plugins/LexicalInlineCompletionPlugin.tsx:970
↓ 2 callers
Function
getJsTargetBundleKeys
( bundle: OutputBundle, jsAssetsFilterFunction?: PluginConfiguration['jsAssetsFilterFunction'], )
packages/embed/vite-plugins/cssInjectedByJs.ts:281
↓ 2 callers
Method
getJupyterOutputNodeUuid
()
packages/lexical/src/nodes/JupyterOutputNode.tsx:142
↓ 2 callers
Function
getJupyterServerToken
()
packages/react/src/jupyter/JupyterConfig.ts:74
↓ 2 callers
Function
getLanguageFriendlyName
(lang: string)
packages/lexical/src/nodes/JupyterInputHighlightNode.ts:64
↓ 2 callers
Function
getLanguageFromSelection
* Get language from current selection context
packages/lexical/src/plugins/AutoIndentPlugin.tsx:331
↓ 2 callers
Function
getLastJupyterInputHighlightNodeOfLine
( anchor: LexicalNode, )
packages/lexical/src/nodes/JupyterInputHighlightNode.ts:229
↓ 2 callers
Function
getMargin
( element: Element | null, margin: 'marginTop' | 'marginBottom', )
packages/lexical/src/plugins/DraggableBlockPlugin.tsx:60
↓ 2 callers
Function
getOpenTagStartIndex
( string: string, maxIndex: number, tag: string, )
packages/lexical/src/convert/markdown/MarkdownShortcuts.ts:284
↓ 2 callers
Function
getScrollingContainer
* Helper function to find the scrolling container and get scroll offsets. * Checks if the element itself has scrollable overflow, then checks parent.
packages/lexical/src/plugins/DraggableBlockPlugin.tsx:182
↓ 2 callers
Function
getTextSibling
(node: TextNode, backward: boolean)
packages/lexical/src/convert/markdown/convertToMarkdown.ts:133
↓ 2 callers
Function
getTextSibling
(node: TextNode, backward: boolean)
packages/lexical/src/convert/markdown/MarkdownExport.ts:169
↓ 2 callers
Function
getTokenText
(token: unknown)
packages/react/src/components/notebook/marked/marked.ts:45
↓ 2 callers
Function
getToolFiles
(dir)
packages/react/scripts/validate-tools-sync.js:27
↓ 2 callers
Function
getToolFiles
(dir)
packages/lexical/scripts/validate-tools-sync.js:27
↓ 2 callers
Method
getWidth
()
packages/lexical/src/nodes/ExcalidrawNode.tsx:168
↓ 2 callers
Function
getattr
(path: string)
packages/react/src/jupyter/lite/contents/drivefs.ts:535
↓ 2 callers
Method
handleMessage
* Handle an incoming message from the client. * * @param msg The message to handle
packages/react/src/jupyter/lite/kernel/tokens.ts:109
↓ 2 callers
Function
handleMoveTo
( type: LexicalCommand<KeyboardEvent>, event: KeyboardEvent, )
packages/lexical/src/nodes/JupyterInputHighlighter.ts:576
↓ 2 callers
Function
handleMultilineIndent
(type: LexicalCommand<void>)
packages/lexical/src/nodes/JupyterInputHighlighter.ts:414
↓ 2 callers
Function
handleShiftLines
( type: LexicalCommand<KeyboardEvent>, event: KeyboardEvent, )
packages/lexical/src/nodes/JupyterInputHighlighter.ts:470
↓ 2 callers
Function
handleSortColumn
(direction: 'asc' | 'desc')
packages/lexical/src/plugins/TableHoverActionsV2Plugin/index.tsx:340
↓ 2 callers
Method
hasGraphElement
()
packages/react/src/jupyter/renderers/plotly/PlotlyRenderer.ts:83
↓ 2 callers
Function
hex2rgb
(hex: string)
packages/lexical/src/components/ColorPicker.tsx:283
↓ 2 callers
Function
indentSelectedLines
* Indent all selected lines
packages/lexical/src/plugins/AutoIndentPlugin.tsx:481
↓ 2 callers
Function
initJupyterEmbeds
( container: HTMLElement = document.body, )
packages/embed/src/init.ts:85
↓ 2 callers
Function
initJupyterEmbeds
* Initialize all Jupyter embeds on the page
packages/embed/src/bootstrap.ts:246
↓ 2 callers
Function
initJupyterEmbedsLazy
( container: HTMLElement = document.body, )
packages/embed/src/init-lazy.ts:90
↓ 2 callers
Method
initKernel
()
packages/react/src/components/output/OutputAdapter.ts:149
↓ 2 callers
Function
initializeElement
* Initialize a single embed element
packages/embed/src/init.ts:29
↓ 2 callers
Function
initializeElementLazy
* Initialize a single embed element (lazy version)
packages/embed/src/init-lazy.ts:34
↓ 2 callers
Function
initializeElementLazy
* Initialize a single embed element (lazy version)
packages/embed/src/init-lazy-manual.ts:32
↓ 2 callers
Method
inputReply
( content: KernelMessage.IInputReplyMsg['content'], parent: any )
packages/react/src/jupyter/lite/kernel/tokens.ts:212
↓ 2 callers
Function
insertAction
(insertRow: boolean)
packages/lexical/src/plugins/TableHoverActionsPlugin/index.tsx:248
↓ 2 callers
Method
insertAt
* Insert a new cell at a specific index. * * @param cellIndex - The index where the cell should be inserted (0-based) * @param source - Optio
packages/react/src/components/notebook/NotebookAdapter.ts:395
↓ 2 callers
Method
insertBlock
* Insert a block into the document. * Handles all block types including complex ones like jupyter-cell. * * @param block - Block to insert
packages/lexical/src/state/LexicalAdapter.ts:171
↓ 2 callers
Method
inspect
( content: KernelMessage.IInspectRequestMsg['content'], parent: any )
packages/react/src/jupyter/lite/kernel/tokens.ts:197
↓ 2 callers
Function
isEqual
(nodeA: LexicalNode, nodeB: LexicalNode)
packages/lexical/src/nodes/JupyterInputHighlighter.ts:396
↓ 2 callers
Function
isEqualSubString
( stringA: string, aStart: number, stringB: string, bStart: number, length: number, )
packages/lexical/src/convert/markdown/MarkdownShortcuts.ts:305
↓ 2 callers
Function
isHeightChanging
(direction: PointerDraggingDirection)
packages/lexical/src/plugins/TableCellResizer/index.tsx:187
↓ 2 callers
Function
isJsOutputChunk
( chunk: OutputAsset | OutputChunk, )
packages/embed/vite-plugins/cssInjectedByJs.ts:202
↓ 2 callers
Function
isJupyterOutputNodeOrphaned
( outputNode: JupyterOutputNode, )
packages/lexical/src/nodes/JupyterOutputNodeUtils.ts:20
↓ 2 callers
Function
isSpaceOrTabChar
(char: string)
packages/lexical/src/nodes/JupyterInputHighlighter.ts:37
↓ 2 callers
Method
kernelspecs
()
packages/react/src/jupyter/services/JupyterServices.ts:19
↓ 2 callers
Function
lexicalToNbformat
(nodes: LexicalNode[])
packages/lexical/src/convert/LexicalToNbformat.tsx:25
↓ 2 callers
Function
loadFromCDN
()
packages/react/src/jupyter/ipywidgets/libembed-amd.ts:86
↓ 2 callers
Function
main
()
packages/react/scripts/validate-tools-sync.js:55
↓ 2 callers
Function
main
()
packages/lexical/scripts/validate-tools-sync.js:55
↓ 2 callers
Function
mapToPrismLanguage
( language: string | null | undefined, )
packages/lexical/src/nodes/JupyterInputNode.ts:46
↓ 2 callers
Function
mapToTableCells
(textContent: string)
packages/lexical/src/convert/transformers/MarkdownTransformers.ts:239
↓ 2 callers
Function
mergeJupyterNodes
* Merge jupyter-input and jupyter-output nodes into a single jupyter-cell block. * The block_id is taken from the input node (for deletion purposes).
packages/lexical/src/tools/utils/blocks.ts:358
↓ 2 callers
Function
nbformatToLexical
( notebook: INotebookContent, editor: LexicalEditor, )
packages/lexical/src/convert/NbformatToLexical.tsx:13
↓ 2 callers
Function
newCodeCell
(source: string)
packages/lexical/src/convert/LexicalToNbformat.tsx:75
↓ 2 callers
Method
next
()
packages/react/src/components/kernel/inspector/model.ts:79
↓ 2 callers
Method
normalizeJupyterModule
(mod: T)
packages/react/src/components/jupyterlab/JupyterLabAppAdapter.ts:43
↓ 2 callers
Method
normalizeKernelSpecResources
( specs: any, serviceManager: ServiceManager.IManager )
packages/react/src/components/jupyterlab/JupyterLabAppAdapter.ts:61
↓ 2 callers
Function
normalizeToPx
(fontSize: number, unit: string)
packages/lexical/src/plugins/ToolbarPlugin/fontSize.tsx:28
↓ 2 callers
Method
notebook
* Get the notebook widget.
packages/react/src/components/notebook/NotebookAdapter.ts:57
↓ 2 callers
Method
notifyListeners
()
packages/lexical/src/examples/components/ManualRuntimeControl.tsx:66
↓ 2 callers
Method
onCollapse
(msg: KernelMessage.IMessage)
packages/react/src/components/kernel/inspector/widget.tsx:204
↓ 2 callers
Function
parseFontSize
(input: string)
packages/lexical/src/plugins/ToolbarPlugin/fontSize.tsx:23
↓ 2 callers
Method
performInspection
* Performs an inspection by sending an execute request with the query command to the kernel.
packages/react/src/components/kernel/variables/handler.ts:141
↓ 2 callers
Method
processDriveRequest
* Process drive request * @param data
packages/react/src/jupyter/lite/pyodide-kernel/tokens.ts:36
↓ 2 callers
Function
refreshUsage
()
packages/react/src/components/kernel/KernelUsage.tsx:86
↓ 2 callers
Function
registerCodeHighlighting
(editor: LexicalEditor)
packages/lexical/src/nodes/JupyterInputHighlighter.ts:609
↓ 2 callers
Method
registerDefaultLanguages
* Register default language configurations * Currently supports: Python, JavaScript, TypeScript
packages/lexical/src/autoindent/LanguageIndentRegistry.ts:67
↓ 2 callers
Method
registerPluginModules
* Register the plugins from multiple plugin modules. * * @param mods - The plugin modules to register.
packages/react/src/jupyter/lite/server/app.ts:176
↓ 2 callers
Method
rename
* Process the request to rename a file or directory * * @param request the request
packages/react/src/jupyter/lite/contents/drivecontents.ts:48
↓ 2 callers
Method
render
()
packages/react/src/components/lumino/ReactPortalWidget.ts:28
↓ 2 callers
Function
renderEmbed
( element: HTMLElement, options: import('./types').EmbedOptions, )
packages/embed/src/index-bootstrap.ts:81
↓ 2 callers
Function
renderEmbedLazy
( element: HTMLElement, options: EmbedOptions, )
packages/embed/src/components-lazy.tsx:236
← previous
next →
301–400 of 2,365, ranked by callers