From ce524225a4c74aed82813b9bc067fd54c8160516 Mon Sep 17 00:00:00 2001 From: Christopher Warner Date: Sat, 10 Oct 2026 18:56:14 -0400 Subject: feat: format notes with Apple Notes-style structure Rewrite Markdown bodies into title, headings, spaced paragraphs, and Notes-friendly lists so iPhone notes no longer look like raw dumps. Co-authored-by: Cursor --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index ca893b5..280ee5d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -129,6 +129,9 @@ async fn run() -> Result<()> { serde_json::to_string(&title)?, text.len() ); + println!("--- formatted preview ---"); + println!("{text}"); + println!("--- end preview ---"); return Ok(()); } browser::cmd_create(&paths, &title, &body).await @@ -158,6 +161,9 @@ async fn run() -> Result<()> { serde_json::to_string(&title)?, text.len() ); + println!("--- formatted preview ---"); + println!("{text}"); + println!("--- end preview ---"); return Ok(()); } browser::cmd_update(&paths, &match_title, &title, &body).await -- cgit v1.2.3