importer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImportResult

type ImportResult struct {
	NotesConverted int      `json:"notes_converted"`
	ImagesCopied   int      `json:"images_copied"`
	LinksConverted int      `json:"links_converted"`
	ItemsSkipped   int      `json:"items_skipped"`
	Warnings       []string `json:"warnings,omitempty"`
}

ImportResult holds statistics from an import operation.

func ImportObsidian

func ImportObsidian(vaultPath, collection, contentDir string) (*ImportResult, error)

ImportObsidian converts an Obsidian vault into a collection of markdown files. Files are written to contentDir/collection/ with numeric prefixes. Images are copied to contentDir/collection/assets/.

Jump to

Keyboard shortcuts

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