CustomCSS.getSnippetPath method
CustomCSS › getSnippetPath
Unofficial
Convert snippet name to its corresponding filepath (relative to vault root).Signature:
getSnippetPath(snippetName: string): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| snippetName | string | Name of the snippet. |
Returns: string — String .obsidian/snippets/${snippetName}.css.