MCPcopy Index your code

hub / github.com/Seraphli/obsidian-link-embed / functions

Functions92 in github.com/Seraphli/obsidian-link-embed

↓ 27 callersMethodsaveSettings
()
main.ts:167
↓ 23 callersFunctionshowNotice
( message?: unknown, typeOrDebugOrOptions?: NoticeType | boolean | NoticeOptions, debugOrOptions?:
src/errorUtils.ts:37
↓ 7 callersFunctionrefreshAllFaviconDecorations
()
src/decoration/linkFaviconDecoration.ts:400
↓ 4 callersFunctionembedUrl
( editor: Editor, selected: Selected, selectedParsers: string[], settings: any, inPlace: b
src/embedUtils.ts:637
↓ 4 callersMethodverifyImageUrl
( imgUrl: string, failedUrls: Set<string>, )
src/parsers/LocalParser.ts:95
↓ 3 callersFunctionaddCopyButtonHandler
( element: HTMLElement, embedInfo: EmbedInfo, ctx?: MarkdownPostProcessorContext, vault?: any,
src/embedUtils.ts:468
↓ 3 callersFunctionaddDeleteButtonHandler
( element: HTMLElement, embedInfo: EmbedInfo, ctx?: MarkdownPostProcessorContext, vault?: any,
src/embedUtils.ts:557
↓ 3 callersFunctionaddRefreshButtonHandler
( element: HTMLElement, embedInfo: EmbedInfo, ctx: MarkdownPostProcessorContext, settings: Obs
src/embedUtils.ts:432
↓ 3 callersMethodbuildAsyncDecorations
(view: EditorView)
src/decoration/linkFaviconDecoration.ts:234
↓ 3 callersFunctioncheckUrlValid
(selected: Selected)
src/urlUtils.ts:20
↓ 3 callersFunctiongetFavicon
( url: string, settings: any, cache: Map<string, any>, debug: boolean = false, )
src/embedUtils.ts:25
↓ 3 callersFunctiongetImageDimensions
( imageUrl: string, cache?: Map<string, any> | null, imageLoadAttempts?: Map<string, number> | nul
src/parsers/utils/imageUtils.ts:33
↓ 3 callersMethodgetText
* Get the selected text from editor or clipboard if no text is selected. * @param editor The editor instance. * @param debug Whether to log
src/exEditor.ts:22
↓ 3 callersMethodparse
(url: string)
src/parsers/LocalParser.ts:436
↓ 3 callersFunctionrenderEmbed
( renderInfo: EmbedInfo, imageUrl: string, aspectRatio: number | undefined, el: HTMLElement,
src/embedUtils.ts:108
↓ 3 callersFunctiontryParsers
( url: string, selectedParsers: string[], settings: any, locationInfo: string, vault: any,
src/embedUtils.ts:201
↓ 2 callersMethodconvertToMarkdownLink
()
src/suggest.ts:78
↓ 2 callersFunctionconvertUrlToMarkdownLink
( url: string, selectedParsers: string[], settings: any, vault: any, )
src/embedUtils.ts:274
↓ 2 callersFunctioncreateParser
( parserType: string, settings: any, vault: any = null, )
src/parsers/index.ts:23
↓ 2 callersMethodenqueue
(task: () => Promise<T>)
src/utils/concurrencyLimiter.ts:14
↓ 2 callersFunctiongenerateEmbedMarkdown
( data: any, settings: ObsidianLinkEmbedPluginSettings, parserName: string, )
src/embedUtils.ts:149
↓ 2 callersMethodgetFavicon
(doc: Document, url: URL)
src/parsers/LocalParser.ts:238
↓ 2 callersMethodgetHtmlByElectron
(url: string)
src/parsers/LocalParser.ts:364
↓ 2 callersMethodgetHtmlByRequest
(url: string)
src/parsers/LocalParser.ts:330
↓ 2 callersFunctionhandleCreateMarkdownLinkCommand
( editor: Editor, settings: ObsidianLinkEmbedPluginSettings, vault: any, parsers?: string[], )
src/eventHandlers.ts:406
↓ 2 callersMethodinitLimiter
(maxConcurrency: number)
src/parsers/LocalParser.ts:13
↓ 2 callersFunctionisUrl
(text: string)
src/urlUtils.ts:10
↓ 2 callersMethodprocess
(data: any)
src/parsers/LocalParser.ts:20
↓ 2 callersMethodprocessQueue
()
src/utils/concurrencyLimiter.ts:26
↓ 1 callersFunctionarrayBufferToBase64
(buffer: ArrayBuffer)
src/parsers/utils/imageUtils.ts:250
↓ 1 callersFunctionbuildViewPlugin
* Build view plugin
src/decoration/linkFaviconDecoration.ts:203
↓ 1 callersMethodclearCache
* Clear decoration cache - call this when settings change
src/decoration/linkFaviconDecoration.ts:101
↓ 1 callersMethodcomputeAsyncDecorations
( tokens: TokenSpec[], )
src/decoration/linkFaviconDecoration.ts:105
↓ 1 callersFunctioncreateParserCommandHandler
( parserName: string, settings: ObsidianLinkEmbedPluginSettings, vault: any, )
src/eventHandlers.ts:376
↓ 1 callersMethodcursorWithinBoundaries
( cursor: EditorPosition, match: RegExpMatchArray, debug: boolean, )
src/exEditor.ts:70
↓ 1 callersFunctiondefineStatefulDecoration
* Define stateful decoration
src/decoration/linkFaviconDecoration.ts:57
↓ 1 callersFunctiondownloadImageToVault
( url: string, vault: any, folderPath: string, )
src/parsers/utils/imageUtils.ts:158
↓ 1 callersFunctionfindOpenParen
* Find matching opening bracket
src/decoration/linkFaviconDecoration.ts:184
↓ 1 callersFunctiongetDefaultsByType
* Get default settings based on notice type
src/errorUtils.ts:118
↓ 1 callersMethodgetDescription
(doc: Document)
src/parsers/LocalParser.ts:226
↓ 1 callersMethodgetImage
(doc: Document, url: URL)
src/parsers/LocalParser.ts:128
↓ 1 callersFunctiongetMimeType
(extension: string)
src/parsers/utils/imageUtils.ts:260
↓ 1 callersMethodgetSelectedText
(editor: Editor, debug: boolean)
src/exEditor.ts:38
↓ 1 callersMethodgetTitle
(doc: Document, url: URL)
src/parsers/LocalParser.ts:37
↓ 1 callersMethodgetWordBoundaries
( editor: Editor, debug: boolean, )
src/exEditor.ts:85
↓ 1 callersFunctionhandleEditorPaste
( evt: ClipboardEvent, pasteInfo: { trigger: boolean; text: string }, )
src/eventHandlers.ts:26
↓ 1 callersFunctionhandleEmbedCodeBlock
( source: string, el: HTMLElement, ctx: MarkdownPostProcessorContext, settings: ObsidianLinkEm
src/eventHandlers.ts:52
↓ 1 callersFunctionhandleEmbedLinkCommand
( editor: Editor, settings: ObsidianLinkEmbedPluginSettings, vault: any, )
src/eventHandlers.ts:349
↓ 1 callersFunctionimageFileToBase64
( vault: any, filePath: string, )
src/parsers/utils/imageUtils.ts:220
↓ 1 callersMethodisDisabled
* Check if a link should be disabled from favicon processing
src/linkFaviconHandler.ts:109
↓ 1 callersFunctionlinkFaviconDecorationPlugin
( plugin: ObsidianLinkEmbedPlugin, )
src/decoration/linkFaviconDecoration.ts:411
↓ 1 callersMethodloadSettings
()
main.ts:159
↓ 1 callersMethodmeetsCriteria
(element: Element)
src/parsers/LocalParser.ts:49
↓ 1 callersMethodprocessLinks
* Process markdown links and add favicons
src/linkFaviconHandler.ts:23
↓ 1 callersFunctionrefreshEmbed
( url: string, element: HTMLElement, ctx: MarkdownPostProcessorContext, settings: ObsidianLink
src/embedUtils.ts:312
↓ 1 callersMethodsetMaxConcurrency
(max: number)
src/utils/concurrencyLimiter.ts:21
↓ 1 callersMethodupdate
(update: ViewUpdate)
src/decoration/linkFaviconDecoration.ts:216
Methodconstructor
(app: App, plugin: ObsidianLinkEmbedPlugin)
src/suggest.ts:22
Methodconstructor
(app: App, plugin: ObsidianLinkEmbedPlugin)
src/settings.ts:73
Methodconstructor
( settings: ObsidianLinkEmbedPluginSettings, cache: Map<string, any>, )
src/linkFaviconHandler.ts:12
Methodconstructor
(private faviconUrl: string)
src/decoration/linkFaviconDecoration.ts:19
Methodconstructor
(editor: EditorView, plugin: ObsidianLinkEmbedPlugin)
src/decoration/linkFaviconDecoration.ts:88
Methodconstructor
(view: EditorView)
src/decoration/linkFaviconDecoration.ts:209
Methodconstructor
(maxConcurrency: number)
src/utils/concurrencyLimiter.ts:10
Methodconstructor
(apiKey: string = '')
src/parsers/LinkPreviewParser.ts:4
Methodconstructor
(apiKey: string = '')
src/parsers/JSONLinkParser.ts:4
Methodconstructor
(apiKey: string = '')
src/parsers/IframelyParser.ts:4
Methodconstructor
()
src/parsers/MicroLinkParser.ts:4
Functioncreate
()
src/decoration/linkFaviconDecoration.ts:63
FunctiondebugError
* Utility method for debug error logging that only logs if debug is enabled * @param args Arguments to pass to console.error
src/parsers/parser.ts:40
FunctiondebugLog
* Utility method for debug logging that only logs if debug is enabled * @param args Arguments to pass to console.log
src/parsers/parser.ts:30
Methoddestroy
()
src/decoration/linkFaviconDecoration.ts:230
Methoddisplay
()
src/settings.ts:78
Methodeq
(other: FaviconWidget)
src/decoration/linkFaviconDecoration.ts:23
FunctionformatDate
()
src/utils.ts:7
MethodgetSuggestions
(context: EditorSuggestContext)
src/suggest.ts:27
FunctionhandleImageProcessing
* Common method to handle image processing and aspect ratio calculation * @param processedData The data with basic title, image, description, and
src/parsers/parser.ts:82
MethodignoreEvent
()
src/decoration/linkFaviconDecoration.ts:40
MethodonTrigger
( cursor: EditorPosition, editor: Editor, file: TFile, )
src/suggest.ts:99
Methodonload
()
main.ts:32
Methodonunload
()
main.ts:145
Functionparse
(url: string)
src/parsers/parser.ts:168
FunctionparseUrl
(url: string)
src/parsers/parser.ts:46
Methodprocess
(data: any)
src/parsers/LinkPreviewParser.ts:14
Methodprocess
(data: any)
src/parsers/JSONLinkParser.ts:9
Methodprocess
(data: any)
src/parsers/IframelyParser.ts:10
Methodprocess
(data: any)
src/parsers/MicroLinkParser.ts:10
MethodrenderSuggestion
(suggestion: IDateCompletion, el: HTMLElement)
src/suggest.ts:44
MethodselectSuggestion
( suggestion: IDateCompletion, event: KeyboardEvent | MouseEvent, )
src/suggest.ts:48
MethodtoDOM
()
src/decoration/linkFaviconDecoration.ts:27
Functionupdate
(deco, tr)
src/decoration/linkFaviconDecoration.ts:66
MethodupdateAsyncDecorations
(tokens: TokenSpec[])
src/decoration/linkFaviconDecoration.ts:161