diff --git a/backend/utils.py b/backend/utils.py index 93e9e38..9020cbd 100644 --- a/backend/utils.py +++ b/backend/utils.py @@ -225,11 +225,7 @@ def delete_note(notes_dir: str, note_path: str) -> bool: full_path.unlink() - # Remove empty parent directories - try: - full_path.parent.rmdir() - except OSError: - pass # Directory not empty, that's fine + # Note: We don't automatically delete empty folders to preserve user's folder structure return True diff --git a/docs/index.html b/docs/index.html index 31fb37d..2527a08 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,8 +7,8 @@
A lightweight, privacy-focused note-taking application that puts you in complete control of your knowledge base. Write, organize, and discover your notes with a beautiful, modern interface—all running on your own server.
+A lightweight, privacy-focused note-taking application with powerful features: LaTeX math equations, Mermaid diagrams, code highlighting, and more. Write, organize, and discover your notes with a beautiful, modern interface—all running on your own server.
Get Started on GitHub →Instant search and navigation. Works offline, always responsive.
+Beautiful equation rendering with MathJax. Perfect for scientific notes.
+Create flowcharts, mind maps, and diagrams with Mermaid syntax.
+Syntax highlighting for popular coding languages. Developer-friendly notes.
+Multiple built-in themes with full customization support.
+8 built-in themes with dark/light modes and full customization.