obsidian

package
v1.801.475 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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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