Skip to content

LinkPathStyle

A style of the link path.

Import:

import type { LinkPathStyle } from 'obsidian-dev-utils/obsidian/link';

Signature:

export enum LinkPathStyle

Members:

MemberValueDescription
AbsolutePathInVault'AbsolutePathInVault'Use the absolute path in the vault.
ObsidianSettingsDefault'ObsidianSettingsDefault'Use the default link path style defined in Obsidian settings.
RelativePathToTheSource'RelativePathToTheSource'Use the relative path to the source.
ShortestPathWhenPossible'ShortestPathWhenPossible'Use the shortest path when possible.

Links to this page: