Basalt Core: basalt-core
This crate provides the core functionality for Basalt TUI application and interoperability layer to Obsidian vaults and notes.
Obsidian
Obsidian module provides functionality operating with Obsidian. It lets you read and manipulate Obsidian's configuration, vaults, and notes.
Currently supports reading vaults, notes, and writing to note path.
Example
use ;
let config = from;
_ = config.get_vault_by_name;
Markdown
Markdown module provides a markdown parser that produces a custom AST using the
pulldown_cmark::Parser. The "AST" acts as an intermediate layer. This enables
segregation of the parsing logic into it's own module under basalt-core lib.
Example
use ;
let markdown = "# My Heading\n\nSome text.";
let nodes = from_str;
assert_eq!