Commit Graph
6 Commits
Author SHA1 Message Date
Michal Vrba 33b70585c1 Add theme toggle with light/dark/auto support
Implement a new theme system with a ThemeToggle component, allowing users to switch between light, dark, and auto (system) modes. Move theme CSS variables to app.css and manage theme state via theme.js with localStorage persistence. Integrate ThemeToggle into editor and preview top bars. Clean up old theme logic from MainLayout.razor.css for better separation and maintainability.
2026-01-30 16:57:31 +01:00
Michal Vrba 9dcf25f6b8 Add shared document editor and preview components
Introduced SharedEditor.razor and SharedPreview.razor for editing and viewing shared documents via tokenized links. Includes auto-save, markdown preview, permission checks, and dedicated responsive styles for both editable and view-only modes. Enables secure sharing of documents with user-friendly interfaces.
2026-01-30 16:42:26 +01:00
Michal Vrba 07d7eb7647 Ignore MigrationBackup/ directory in .gitignore
Added MigrationBackup/ to .gitignore to prevent tracking of backup files and subdirectories within this folder. This helps keep the repository clean from backup-related artifacts.
2026-01-30 16:37:30 +01:00
Michal Vrba 40df2aafd6 Refactor to Notemark: minimalist markdown editor app
- Remove Blazor template pages and navigation; redesign layout for fullscreen editor with light/dark theme support
- Add Editor.razor: markdown editor with live preview, auto-save, and share modal for readonly/editable links
- Implement MarkdownService (Markdig + HtmlSanitizer), SessionService (cookie-based, file persistence), and ShareService (token-based sharing)
- Configure DI and cookie policy in Program.cs; add Markdig and HtmlSanitizer NuGet packages
- Include example session and share token data files
- App is now a single-page markdown editor with file-based storage and sharing, no database
2026-01-30 16:20:42 +01:00
Michal Vrba f85e7a89b4 added specs 2026-01-30 15:30:31 +01:00
Michal Vrba 22520a4869 initial commit 2026-01-30 15:07:28 +01:00