Skip to content

calternal_notes_core::notes

Pure Note creation helpers built on the shared identity and frontmatter rules.

Source: crates/calternal-notes-core/src/notes.rs

pub struct StandaloneNote

No doc comment.

Fields

  • pub path: String
  • pub content: String

Implements: Debug, Clone, PartialEq, Eq

Source: crates/calternal-notes-core/src/notes.rs:6

pub fn build_standalone_note(
title: &str,
id: &str,
now: &str,
tags: &[String],
body: &str,
) -> StandaloneNote

Build a new standalone Note. now is supplied by the host and is used for both creation and edit stamps; this function never reads the system clock.

Source: crates/calternal-notes-core/src/notes.rs:13