diff options
| author | Christopher Warner <cwarner@kernelcode.com> | 2026-10-10 18:58:00 -0400 |
|---|---|---|
| committer | Christopher Warner <cwarner@kernelcode.com> | 2026-10-10 18:58:00 -0400 |
| commit | 41d0d57b0897bf1d8fd4db7f16f5ce454c3b74b9 (patch) | |
| tree | f7670272f347e5911bfe15f13d72a88b9ed4cfa3 /src/browser.rs | |
| parent | ce524225a4c74aed82813b9bc067fd54c8160516 (diff) | |
| download | iphone-notes-41d0d57b0897bf1d8fd4db7f16f5ce454c3b74b9.tar.gz iphone-notes-41d0d57b0897bf1d8fd4db7f16f5ce454c3b74b9.tar.bz2 iphone-notes-41d0d57b0897bf1d8fd4db7f16f5ce454c3b74b9.tar.xz iphone-notes-41d0d57b0897bf1d8fd4db7f16f5ce454c3b74b9.zip | |
feat(format): align note markup with Apple Notes Support guides
Map * / - to bulleted vs dashed lists, add divider and block-quote
stand-ins, and render simple tables per Apple's Notes formatting docs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'src/browser.rs')
| -rw-r--r-- | src/browser.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/browser.rs b/src/browser.rs index 7763ef9..2cecf5a 100644 --- a/src/browser.rs +++ b/src/browser.rs @@ -238,6 +238,8 @@ fn paragraphs_json(title: &str, body: &str) -> Result<String> { ParagraphStyle::Numbered => "numbered", ParagraphStyle::Checklist => "checklist", ParagraphStyle::Monospace => "mono", + ParagraphStyle::Divider => "divider", + ParagraphStyle::BlockQuote => "quote", }, "text": p.text, "checked": p.checked, |
