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