Skip to main content

edit

Function edit 

Source
pub async fn edit(env: &Env, dir: &Path, initial: &str) -> Result<String>
Expand description

Opens initial in the editor and returns the saved text. The buffer is a temporary Markdown file in dir.