pub struct LinkingConfig {
pub insert_in_parent: bool,
pub insert_in_child: bool,
pub use_title_alias: bool,
pub format: Option<String>,
pub insertion_point: String,
pub create_links_section: bool,
}Expand description
Bidirectional linking configuration
Controls the core zettelkasten feature of automatic linking between parent and child notes when the hierarchy is modified.
Fields§
§insert_in_parent: boolWhether to insert link to child in parent when creating children
insert_in_child: boolWhether to insert link to parent in child when creating children
use_title_alias: boolWhether to use title as display text in generated links
When true: [[1a2|My Note Title]] (prettier but can break) When false: [[1a2]] (always works)
format: Option<String>Link format template
Supports placeholders: {id}, {title}, {filename} Default: “[[{filename}]]” or “[[{filename}|{title}]]” based on use_title_alias
insertion_point: StringWhere to insert child links in parent notes
Options: “end” (at end of file), “after_title” (after # heading), “section” (in ## Links section)
create_links_section: boolWhether to create a dedicated links section when inserting
Trait Implementations§
Source§impl Clone for LinkingConfig
impl Clone for LinkingConfig
Source§fn clone(&self) -> LinkingConfig
fn clone(&self) -> LinkingConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more