indent
Indents a string by adding a prefix to each line.
Import:
import { indent } from 'obsidian-dev-utils/string';Signature:
function indent(params: IndentParams): stringParameters:
| Parameter | Type | Description |
|---|---|---|
params | IndentParams | The parameters. |
Returns: string — The indented string.
Links to this page: