Skip to content

LintMarkdownContentParams

Parameters for lintMarkdownContent.

Import:

import type { LintMarkdownContentParams } from 'obsidian-dev-utils/script-utils/linters/markdownlint-content';

Signature:

export interface LintMarkdownContentParams

Properties

PropertyTypeDescription
contentstringThe markdown to lint.
filePathstringThe path the content is linted AS — normally the path it is about to be written to. It decides how the path-relative rules resolve (relative-links walks from the file's own folder), and it is what every reported finding is named after.

Links to this page: