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
↓ 5 callers
Method
getBlocks
* Get all blocks from the document. * Uses editorStateToBlocks which handles jupyter-input/output node merging. * * @param format - Response
packages/lexical/src/state/LexicalAdapter.ts:116
↓ 5 callers
Method
getConfigOrDefault
* Get configuration for a language with fallback to default * * @param language - Language identifier * @returns Language config (never undef
packages/lexical/src/autoindent/LanguageIndentRegistry.ts:138
↓ 5 callers
Method
getEquation
()
packages/lexical/src/nodes/EquationNode.tsx:185
↓ 5 callers
Method
getOpen
()
packages/lexical/src/plugins/CollapsiblePlugin/CollapsibleContainerNode.ts:176
↓ 5 callers
Function
getWheelUrl
(packageName: string, version?: string)
packages/react/src/jupyter/lite/pyodide-kernel/_pypi.ts:74
↓ 5 callers
Method
initialize
* Handle any lazy setup activities.
packages/react/src/jupyter/lite/kernel/tokens.ts:188
↓ 5 callers
Method
interrupt
()
packages/react/src/components/output/OutputAdapter.ts:119
↓ 5 callers
Method
isInline
()
packages/lexical/src/nodes/CounterNode.tsx:61
↓ 5 callers
Function
parseElementOptions
(element: HTMLElement)
packages/embed/src/parser.ts:35
↓ 5 callers
Method
put
* Process the request to write the content of a file * * @param request the request
packages/react/src/jupyter/lite/contents/drivecontents.ts:94
↓ 5 callers
Method
registerAlias
* Register a language alias * Example: 'py' -> 'python', 'js' -> 'javascript' * * @param alias - Short alias name * @param targetLanguage
packages/lexical/src/autoindent/LanguageIndentRegistry.ts:106
↓ 5 callers
Method
startNew
* Start a new kernel. * * @param options The kernel start options.
packages/react/src/jupyter/lite/kernel/kernels.ts:60
↓ 5 callers
Function
updateFontSizeInSelection
( editor: LexicalEditor, newFontSize: string | null, updateType: UpdateFontSizeType | null, )
packages/lexical/src/plugins/ToolbarPlugin/utils.ts:114
↓ 5 callers
Function
useCellsStore
(selector?: (state: CellsState) => T)
packages/react/src/components/cell/CellState.ts:159
↓ 5 callers
Function
useJupyterReactStore
( selector?: (state: JupyterReactState) => T )
packages/react/src/state/JupyterReactState.ts:148
↓ 5 callers
Function
useLexical
()
packages/lexical/src/context/LexicalContext.tsx:17
↓ 4 callers
Function
$createImageNode
({ altText, height, maxWidth = 500, src, width, showCaption, caption, key, }: ImagePayload)
packages/lexical/src/nodes/ImageNode.tsx:541
↓ 4 callers
Function
$isCommentThreadNode
(node: unknown)
packages/lexical/src/nodes/CommentThreadNode.tsx:127
↓ 4 callers
Method
_getServerDirectory
* retrieve the contents for this path from `__index__.json` in the appropriate * folder. * * @param newLocalPath - The new file path. *
packages/react/src/jupyter/lite/contents/contents.ts:831
↓ 4 callers
Function
callback
()
packages/lexical/src/plugins/TableActionMenuPlugin/index.tsx:760
↓ 4 callers
Function
cb
(err: Error | null, code: string)
packages/react/src/components/notebook/marked/marked.ts:142
↓ 4 callers
Method
connectTo
(options: IKernelConnection.IOptions)
packages/react/src/jupyter/services/ServiceManagerLess.ts:225
↓ 4 callers
Function
debugLog
(msg: string)
packages/embed/vite-plugins/cssInjectedByJs.ts:197
↓ 4 callers
Function
escapeHtml
(value: string)
packages/react/src/components/notebook/marked/marked.ts:11
↓ 4 callers
Function
extractCode
* Extract code from an element, handling indentation
packages/embed/src/parser.ts:346
↓ 4 callers
Function
fetchRandomGif
()
packages/lexical/src/utils/giphy.ts:24
↓ 4 callers
Function
fileURLToPath
(inputUrl: string | URL)
packages/react/src/shims/url.ts:33
↓ 4 callers
Function
filter
(filepath)
packages/docusaurus-plugin/copyUntypedFiles.js:23
↓ 4 callers
Function
findFirstNotSpaceOrTabCharAtText
( text: string, isForward: boolean, )
packages/lexical/src/nodes/JupyterInputHighlighter.ts:41
↓ 4 callers
Function
formatHeading
( editor: LexicalEditor, blockType: string, headingSize: HeadingTagType, )
packages/lexical/src/plugins/ToolbarPlugin/utils.ts:163
↓ 4 callers
Method
getAllVersions
(key: string)
packages/react/src/jupyter/ipywidgets/semvercache.ts:35
↓ 4 callers
Method
getContext
* Get the current context.
packages/react/src/components/notebook/NotebookCommands.ts:57
↓ 4 callers
Function
getFirstJupyterInputHighlightNodeOfLine
( anchor: LexicalNode, )
packages/lexical/src/nodes/JupyterInputHighlightNode.ts:210
↓ 4 callers
Function
getJupyterServerUrl
()
packages/react/src/jupyter/JupyterConfig.ts:53
↓ 4 callers
Function
isHeadingAboveViewport
(element: HTMLElement)
packages/lexical/src/plugins/TableOfContentsPlugin.tsx:46
↓ 4 callers
Method
load
(props: JupyterLabAppAdapterProps)
packages/react/src/components/jupyterlab/JupyterLabAppAdapter.ts:126
↓ 4 callers
Function
nodeToBlock
(node: LexicalNode)
packages/lexical/src/tools/utils/blocks.ts:415
↓ 4 callers
Function
onChange
(event: ChangeEvent)
packages/lexical/src/components/EquationEditor.tsx:22
↓ 4 callers
Method
patch
* Add a new PATCH route * * @param pattern The pattern to match * @param callback The function to call on pattern match *
packages/react/src/jupyter/lite/server/router.ts:53
↓ 4 callers
Method
registerLanguage
* Register a language configuration * * @param config - Language indent configuration * @throws Error if language already registered (use upd
packages/lexical/src/autoindent/LanguageIndentRegistry.ts:86
↓ 4 callers
Function
renderKernelStateGlyph
(state: ExecutionState)
packages/react/src/components/kernel/KernelIndicatorState.tsx:99
↓ 4 callers
Function
resolveColormode
(cm: Colormode)
packages/react/src/theme/JupyterReactTheme.tsx:94
↓ 4 callers
Function
sanitizeUrl
(url: string)
packages/lexical/src/utils/url.ts:15
↓ 4 callers
Method
send
()
packages/ipyscript/src/__tests__/utils.ts:39
↓ 4 callers
Method
setActiveCell
* Set the active cell by index. * * @param index - The index of the cell to activate (0-based) * * @remarks * This method programmatica
packages/react/src/components/notebook/NotebookAdapter.ts:270
↓ 4 callers
Method
setDefaultCellType
* Set the default cell type for new cells.
packages/react/src/components/notebook/NotebookAdapter.ts:128
↓ 4 callers
Function
setStatus
(status: CollaborationStatus)
packages/react/src/jupyter/collaboration/ICollaborationProvider.ts:200
↓ 4 callers
Method
toggleOpen
()
packages/lexical/src/plugins/CollapsiblePlugin/CollapsibleContainerNode.ts:180
↓ 4 callers
Function
transformersByType
(transformers: Array<Transformer>)
packages/lexical/src/convert/markdown/utils.ts:415
↓ 4 callers
Function
useJupyterEmbed
()
packages/embed/src/components.tsx:33
↓ 4 callers
Function
warnLog
(msg: string)
packages/embed/vite-plugins/cssInjectedByJs.ts:193
↓ 3 callers
Function
$createCollapsibleContainerNode
( isOpen: boolean, )
packages/lexical/src/plugins/CollapsiblePlugin/CollapsibleContainerNode.ts:185
↓ 3 callers
Function
$createCollapsibleContentNode
()
packages/lexical/src/plugins/CollapsiblePlugin/CollapsibleContentNode.ts:117
↓ 3 callers
Function
$createEquationNode
( equation = '', inline = false, )
packages/lexical/src/nodes/EquationNode.tsx:205
↓ 3 callers
Function
$createExcalidrawNode
( data: string = '[]', width: Dimension = 'inherit', height: Dimension = 'inherit', )
packages/lexical/src/nodes/ExcalidrawNode.tsx:198
↓ 3 callers
Function
$createInlineCompletionNode
( completionText: string, )
packages/lexical/src/nodes/InlineCompletionNode.tsx:212
↓ 3 callers
Function
$createJupyterOutputNode
( code: string, outputAdapter: OutputAdapter, outputs: IOutput[], autoRun: boolean, jupyterInputNode
packages/lexical/src/nodes/JupyterOutputNode.tsx:277
↓ 3 callers
Function
$isCollapsibleTitleNode
( node: LexicalNode | null | undefined, )
packages/lexical/src/plugins/CollapsiblePlugin/CollapsibleTitleNode.ts:119
↓ 3 callers
Function
$isEquationNode
( node: LexicalNode | null | undefined, )
packages/lexical/src/nodes/EquationNode.tsx:212
↓ 3 callers
Method
_binaryStringToBytes
* Convert a binary string to an Uint8Array * @param binaryString the binary string * @returns the bytes of the binary string
packages/react/src/jupyter/lite/contents/contents.ts:679
↓ 3 callers
Method
_findParent
( args: Kernel.IAnyMessageArgs )
packages/react/src/components/kernel/inspector/model.ts:230
↓ 3 callers
Method
_incrementCounter
* Increment the counter for a given file type. * Used to avoid collisions when creating new untitled files. * * @param type The file type to
packages/react/src/jupyter/lite/contents/contents.ts:868
↓ 3 callers
Method
_updateCodeCell
(cell: CodeCell, disableHighlight: boolean)
packages/react/src/examples/extensions/celltoolbar/CellToolbarWidget.tsx:73
↓ 3 callers
Function
addScrollListener
(wrapper: HTMLElement)
packages/lexical/src/plugins/TableScrollShadowPlugin/index.tsx:80
↓ 3 callers
Function
applyStyles
( dom: HTMLElement, styles: Partial<CSSStyleDeclaration>, )
packages/lexical/src/plugins/CollapsiblePlugin/CollapsibleStyles.ts:143
↓ 3 callers
Function
build_javascript
()
packages/react/hatch_build.py:99
↓ 3 callers
Function
build_javascript
()
packages/lexical/hatch_build.py:64
↓ 3 callers
Method
calculateOutdent
* Calculate indentation for outdenting (Shift+Tab or dedent) * * @param currentIndent - Current indentation in spaces * @param language - Lan
packages/lexical/src/autoindent/AutoIndentEngine.ts:161
↓ 3 callers
Method
cancel
()
packages/react/src/jupyter/services/ServiceManagerLess.ts:328
↓ 3 callers
Function
cancelScheduledClose
()
packages/react/src/components/kernel/KernelIndicator.tsx:102
↓ 3 callers
Function
clamp
(value: number, min: number, max: number)
packages/lexical/src/components/ImageResizer.tsx:11
↓ 3 callers
Function
clearJupyterOutputs
(node: LexicalNode)
packages/lexical/src/plugins/JupyterInputOutputPlugin.tsx:870
↓ 3 callers
Method
clone
(node: CollapsibleContentNode)
packages/lexical/src/plugins/CollapsiblePlugin/CollapsibleContentNode.ts:43
↓ 3 callers
Method
complete
( content: KernelMessage.ICompleteRequestMsg['content'], parent: any )
packages/react/src/jupyter/lite/kernel/tokens.ts:193
↓ 3 callers
Method
createNode
( parent: IEmscriptenFSNode | null, name: string, mode: number, dev: number )
packages/react/src/jupyter/lite/contents/drivefs.ts:669
↓ 3 callers
Function
debounce
(callback: (text: string) => void, delay: number)
packages/lexical/src/plugins/AutoEmbedPlugin.tsx:157
↓ 3 callers
Method
deleteBlock
* Delete multiple blocks by their IDs. * Handles complex logic including validation, sorting, and cascading deletions. * * @param blockIds -
packages/lexical/src/state/LexicalAdapter.ts:355
↓ 3 callers
Method
deleteCells
* Delete the currently selected cells.
packages/react/src/components/notebook/NotebookAdapter.ts:197
↓ 3 callers
Method
destroy
()
packages/react/src/utils/cursorExtension.ts:384
↓ 3 callers
Function
editorExtensions
()
packages/react/src/components/viewer/input/InputViewer.tsx:48
↓ 3 callers
Function
editorStateToBlocks
( editor: LexicalEditor, format: BlockFormat = 'brief', )
packages/lexical/src/tools/utils/blocks.ts:211
↓ 3 callers
Function
ensureCollapsibleStyles
()
packages/lexical/src/plugins/CollapsiblePlugin/CollapsibleStyles.ts:91
↓ 3 callers
Method
executeCode
* Execute code directly in the kernel without creating a block. * * This method sends code execution requests directly to the kernel, * bypas
packages/lexical/src/state/LexicalAdapter.ts:1648
↓ 3 callers
Method
filterExistingModelState
* Filter serialized widget state to remove any ID's already present in manager. * @param serialized_state - Serialized state to filter * @return
packages/react/src/jupyter/ipywidgets/classic/htmlmanager.ts:90
↓ 3 callers
Function
findJupyterInputParent
* Find parent JupyterInputNode
packages/lexical/src/plugins/LexicalInlineCompletionPlugin.tsx:950
↓ 3 callers
Function
formatVerticalAlign
(value: string)
packages/lexical/src/plugins/TableActionMenuPlugin/index.tsx:402
↓ 3 callers
Function
generateInlineProviderSettings
* Generate settings for inline completion providers. * Each provider needs to be explicitly enabled with settings.
packages/react/src/components/notebook/NotebookBase.tsx:95
↓ 3 callers
Function
getAbsoluteOffset
* Calculate absolute offset from start of JupyterInputNode to current selection position. * selection.anchor.offset gives offset within current text
packages/lexical/src/plugins/LSPTabCompletionPlugin.tsx:59
↓ 3 callers
Method
getAltText
()
packages/lexical/src/nodes/ImageNode.tsx:520
↓ 3 callers
Method
getBlockById
* Get a block by ID. * Uses editorStateToBlocks to ensure jupyter-input/output nodes are properly merged. * Always returns detailed format (sing
packages/lexical/src/state/LexicalAdapter.ts:146
↓ 3 callers
Function
getBlockElement
( anchorElem: HTMLElement, editor: LexicalEditor, event: MouseEvent, useEdgeAsDefault = false, )
packages/lexical/src/plugins/DraggableBlockPlugin.tsx:87
↓ 3 callers
Method
getCellCount
* Get the total number of cells in the notebook. * * @returns The number of cells, or 0 if the notebook model is not available
packages/react/src/components/notebook/NotebookAdapter.ts:377
↓ 3 callers
Method
getComments
* Get all comments by reading CommentThreadNode instances from the editor state. * These nodes sync automatically via Loro collaboration provider.
packages/lexical/src/components/Commenting.tsx:107
↓ 3 callers
Function
getDOMSelection
(targetWindow: Window | null)
packages/lexical/src/plugins/ImagesPlugin.tsx:44
↓ 3 callers
Method
getHeight
()
packages/lexical/src/nodes/ExcalidrawNode.tsx:177
↓ 3 callers
Function
getHighlightThemeClass
( theme: EditorThemeClasses, highlightType: string | null | undefined, )
packages/lexical/src/nodes/JupyterInputHighlightNode.ts:185
↓ 3 callers
Function
getImageNodeInSelection
()
packages/lexical/src/plugins/ImagesPlugin.tsx:324
↓ 3 callers
Method
getJupyterInput
()
packages/lexical/src/nodes/JupyterOutputNode.tsx:122
↓ 3 callers
Function
getMarked
( languages: IEditorLanguageRegistry )
packages/react/src/components/notebook/marked/marked.ts:53
↓ 3 callers
Method
getOutputs
()
packages/lexical/src/nodes/JupyterOutputNode.tsx:172
← previous
next →
101–200 of 2,365, ranked by callers