obsidian-dev-utils
Version:
This is the collection of useful functions that you can use for your Obsidian plugin development
21 lines (20 loc) • 615 B
text/typescript
/**
* @packageDocumentation
*
* This module provides utility functions for working with Obsidian settings.
*/
import type { App } from 'obsidian';
/**
* Retrieves whether to use relative links based on the Obsidian settings.
*
* @param app - The Obsidian app instance.
* @returns Whether to use relative links.
*/
export declare function shouldUseRelativeLinks(app: App): boolean;
/**
* Retrieves whether to use wikilinks based on the Obsidian settings.
*
* @param app - The Obsidian app instance.
* @returns Whether to use wikilinks.
*/
export declare function shouldUseWikilinks(app: App): boolean;