Skip to main content

item_edit_template

Function item_edit_template 

Source
pub async fn item_edit_template(
    project_dir: &Path,
    id: &ItemId,
) -> Result<String>
Expand description

Format PBI id as the Markdown template used for $EDITOR editing.

Use the normal +++ frontmatter format and insert TOML-comment guidance for editable fields. This read-only operation does not acquire the board lock. Return Error::NotInitialized for an uninitialized board or Error::NotFound when id does not exist.