Skip to content

obsidian/components/generate-markdown-link-default-params-component

Component that registers a function providing default params for generated markdown links while it is loaded.

ClassDescription
GenerateMarkdownLinkDefaultParamsComponentRegisters a function that provides default GenerateMarkdownLinkParams for the duration of its load. On load the function is appended to the shared list consulted when generating a markdown link; on unload it is removed. Later registrations take precedence over the built-in defaults but never over explicitly passed params.
InterfaceDescription
GenerateMarkdownLinkDefaultParamsComponentConstructorParamsConstructor params for GenerateMarkdownLinkDefaultParamsComponent.