Commit Graph

95 Commits

Author SHA1 Message Date
90d32279c3 Simplify and optimize line break handling in markdown.js 2026-01-31 16:44:00 +01:00
15993ed33c Improve line break handling in markdownToHTML function 2026-01-31 16:40:06 +01:00
4ae7f82288 Refactor line break handling in markdown.js 2026-01-31 16:36:44 +01:00
c2a6035f3d Improve markdown to HTML conversion by trimming breaks around code blocks 2026-01-31 16:30:11 +01:00
fa8d2807e8 Improve markdown to HTML conversion by trimming breaks around block elements 2026-01-31 16:30:05 +01:00
03deb8de1c Update markdown.js to handle line breaks and code blocks more effectively 2026-01-31 16:27:28 +01:00
b8d93c9ddf Remove top margin from first markdown heading 2026-01-31 16:26:21 +01:00
555c08fd0b Add padding to markdown preview in print mode 2026-01-31 16:24:01 +01:00
acb084dae9 Hide copy and external icons in print mode 2026-01-31 16:24:01 +01:00
eccd378043 Add 'core:webview:allow-print' permission to capabilities.json 2026-01-31 16:22:21 +01:00
05ef4ba130 Add webview print permission in main.json 2026-01-31 16:21:17 +01:00
c0293ac021 Add print styles for markdown content in index.css 2026-01-31 16:19:06 +01:00
735cc89e72 Add onClick handler to Print button in App.tsx 2026-01-31 16:19:06 +01:00
8cf0ec950a Add print functionality for markdown preview 2026-01-31 16:18:34 +01:00
1cd0d58206 Remove unused CSS properties in index.css 2026-01-31 16:17:51 +01:00
3d3b230125 Reorder and enhance Markdown preview button in editor footer 2026-01-31 16:14:23 +01:00
5855de1a2f Reset markdown preview state on certain conditions 2026-01-31 16:14:23 +01:00
b6187d1338 Update README.md to support .md files 2026-01-31 16:11:38 +01:00
15f1b22f3b Add Markdown file type configuration 2026-01-31 14:41:51 +01:00
afb7aac60e Support Markdown files in App.tsx 2026-01-31 14:41:51 +01:00
4a40ffc30c Update CSS for preview mode in editor 2026-01-31 14:37:26 +01:00
0c727df84e Add conditional class to editor textarea wrap 2026-01-31 14:37:26 +01:00
6601d2ef41 auto-git:
[change] src-tauri/gen/schemas/acl-manifests.json
 [change] src-tauri/gen/schemas/capabilities.json
 [change] src-tauri/gen/schemas/desktop-schema.json
 [change] src-tauri/gen/schemas/macOS-schema.json
 [change] src/App.tsx
2026-01-31 14:35:53 +01:00
c9243c77d2 auto-git:
[change] src-tauri/Cargo.lock
 [change] src-tauri/capabilities/main.json
2026-01-31 14:35:53 +01:00
6a5a2a38b1 auto-git:
[change] src-tauri/src/main.rs
2026-01-31 14:35:53 +01:00
fd6be4c6df auto-git:
[change] src-tauri/Cargo.toml
2026-01-31 14:35:53 +01:00
6bafb309f6 auto-git:
[change] package.json
2026-01-31 14:35:53 +01:00
158f9afb5e Set fixed size for markdown icons 2026-01-31 14:34:58 +01:00
09b395172e Add click event handler to markdown preview 2026-01-31 14:32:30 +01:00
7b1066605f auto-git:
[change] src-tauri/gen/schemas/acl-manifests.json
 [change] src-tauri/gen/schemas/capabilities.json
 [change] src-tauri/gen/schemas/desktop-schema.json
 [change] src-tauri/gen/schemas/macOS-schema.json
 [change] src/App.tsx
2026-01-31 14:31:11 +01:00
9f04d11664 auto-git:
[add] src-tauri/gen/schemas/acl-manifests.json
 [add] src-tauri/gen/schemas/capabilities.json
 [add] src-tauri/gen/schemas/desktop-schema.json
 [add] src-tauri/gen/schemas/macOS-schema.json
 [change] .gitignore
 [change] src-tauri/Cargo.lock
2026-01-31 14:31:08 +01:00
9fa2b8c663 auto-git:
[change] src-tauri/capabilities/main.json
2026-01-31 14:31:08 +01:00
8e4322550b auto-git:
[change] src-tauri/src/main.rs
2026-01-31 14:31:08 +01:00
a56a7ee647 auto-git:
[change] src-tauri/Cargo.toml
2026-01-31 14:31:08 +01:00
e1cb7a60e5 auto-git:
[change] package.json
2026-01-31 14:31:08 +01:00
49da9fccc4 Update markdown-render.css with scoped tokens and theme support 2026-01-31 14:25:28 +01:00
ec5bc01ab6 Update markdown.js to handle links correctly 2026-01-31 14:22:33 +01:00
fed15761ad Add styles for markdown preview in index.css 2026-01-31 14:21:09 +01:00
749fea672c Add markdown preview and export options in App component 2026-01-31 14:20:03 +01:00
bd6ffe6d41 Add markdown preview feature to App.tsx 2026-01-31 14:19:50 +01:00
700b9d72bb auto-git:
[add] src/markdown/markdown-render.css
 [add] src/markdown/markdown.js
2026-01-31 14:15:28 +01:00
b6f6ca8e1b Rename and enhance editor title row styling 2026-01-31 13:37:53 +01:00
3114b936f1 Refactor editor layout in App.tsx 2026-01-31 13:37:51 +01:00
c12d7d03a5 Comment out styling in src/index.css 2026-01-31 13:26:55 +01:00
62da17740a Add resize event listener for line number adjustment in App.tsx 2026-01-31 13:13:47 +01:00
21787b2d7e Update index.css for better text wrapping 2026-01-31 13:12:30 +01:00
fef296ac7e Fix newline character in App.tsx 2026-01-31 13:12:30 +01:00
07cdf7421f Fix line number generation in App.tsx 2026-01-31 13:06:37 +01:00
462c295893 Add line measure styling to index.css 2026-01-31 13:05:11 +01:00
fb183223b1 Add line number height measurement and synchronization in App.tsx 2026-01-31 13:05:05 +01:00