Skip to content

getMarkdownFiles

Retrieves an array of files representing the markdown files within a specified folder or path.

Import:

import { getMarkdownFiles } from 'obsidian-dev-utils/obsidian/file-system';

Signature:

function getMarkdownFiles(params: GetMarkdownFilesParams): TFile[]

Parameters:

ParameterTypeDescription
paramsGetMarkdownFilesParamsThe parameters for the retrieval.

Returns: TFile[] — An array of files representing the markdown files.


Links to this page: