Skip to main content

render_workspace_policy_flow

Function render_workspace_policy_flow 

Source
pub fn render_workspace_policy_flow(
    entries: &[(&'static str, String)],
) -> Option<String>
Expand description

Render workspace-policy entries as an inline YAML flow mapping suitable for embedding into a single frontmatter line: _policy: {require_notes: true, cross_mem_links: named}. Returns None when there are no entries so the frontmatter slot stays empty.