Skip to content

indent

Indents a string by adding a prefix to each line.

Import:

import { indent } from 'obsidian-dev-utils/string';

Signature:

function indent(params: IndentParams): string

Parameters:

ParameterTypeDescription
paramsIndentParamsThe parameters.

Returns: string — The indented string.


Links to this page: