obsidian

package
v1.801.477 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package obsidian normalizes an Obsidian vault (a tree of markdown files) into vault.Page documents. It is pure (no cloud/framework/I/O): the KB import handler unpacks the vault zip into []vault.File and this package maps them to pages.

Obsidian's model IS the wikilink graph, not a page hierarchy, so pages import flat (no parent tree) and "[[Wikilinks]]" are preserved verbatim in the body — the kb-page after_save hook then extracts them into kb-link edges, reconstructing the graph. YAML frontmatter is stripped from the body; a note's filename is its title (the link target Obsidian uses), so title-based link resolution matches what the author wrote.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(files []vault.File) ([]vault.Page, error)

Parse maps the markdown files of an Obsidian vault to pages. Non-markdown files (attachments) are ignored. The order of the returned pages follows the file list.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL