Hwaro::Services::Importers::ObsidianImporter
Inherits Hwaro::Services::Importers::Base / Reference / Object
Constants
EMBED_PATTERN = /!\[\[([^\]]+?)\]\]/
Obsidian embed pattern: ![[filename]]
OBSIDIAN_TAG_PATTERN = /(?:^|(?<=\s))#([a-zA-Z][\w\-\/]*)/
Obsidian tag pattern: #tag (but not inside code blocks, headings,
or as a URL fragment like path/#section). Requires the # to
sit at start-of-line or after whitespace — this matches Obsidian's
own tag-detection heuristic and avoids treating URL anchors as tags.
WIKILINK_PATTERN = /\[\[([^\]|]+?)(?:\|([^\]]+?))?\]\]/
Obsidian wiki-link pattern: [[Page Name]] or [[Page Name|Display Text]]
Instance methods
run(options : Config::Options::ImportOptions) : ImportResult
Source