pub async fn edit(env: &Env, dir: &Path, initial: &str) -> Result<String>
Opens initial in the editor and returns the saved text. The buffer is a temporary Markdown file in dir.
initial
dir