getNewLinkFormat
Retrieves whether to use relative links based on the Obsidian settings.
Import:
import { getNewLinkFormat } from 'obsidian-dev-utils/obsidian/obsidian-settings';Signature:
function getNewLinkFormat(app: App): NewLinkFormatParameters:
| Parameter | Type | Description |
|---|---|---|
app | App | The Obsidian app instance. |
Returns: NewLinkFormat — Whether to use relative links.