Skip to content

obsidian/dataview

This module provides utility functions for working with Dataview in Obsidian.

InterfaceDescription
DataviewInlineApiExtended interface for the Dataview Inline API, providing additional methods for custom page types and array handling.
InsertCodeBlockParamsParameters for insertCodeBlock.
RenderIframeParamsOptions for renderIframe.
RenderPaginatedListParamsOptions for renderPaginatedList.
RenderPaginatedParamsOptions for renderPaginated.
RenderPaginatedTableParamsOptions for renderPaginatedTable.
FunctionDescription
getRenderedContainerRenders the content using the provided renderer function in a temporary container, and then returns the container.
insertCodeBlockInserts a code block into the specified Dataview instance using the provided language and code.
reloadCurrentFileCacheReloads the current file cache using the Dataview API.
renderIframeRenders an iframe in the Dataview container with the specified relative path, width, and height.
renderPaginatedListRenders a paginated list using the provided DataviewInlineApi instance.
renderPaginatedTableRenders a paginated table using the provided DataviewInlineApi instance.
TypeDescription
ArrayOrDataArrayArray or DataArray type.
CombinedPageA combined page type, which includes the front matter and the SMarkdownPage.
DomElementInfoWithContainerDomElementInfo with an optional container.
PageFileA combined file type, which includes the front matter and the SMarkdownFile.
PageFilesList of page files.