feat: add syntax highlighting and enhance document editing features

- Import GitHub dark theme for highlight.js in main.ts
- Pass slug prop to VisualEditor in DocumentView.vue for version and normal editing modes
- Update Vite configuration to increase maximum cache size and add media proxy
- Add new dependencies for Tiptap extensions and highlight.js in package.json and package-lock.json
This commit is contained in:
Björn Blomberg
2026-04-13 15:14:46 +02:00
parent a8c854e61b
commit e89d2c87f0
13 changed files with 1380 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ Webbläsare
| Frontend | Vue 3 (Composition API), Vite, TypeScript, Tailwind CSS |
| State | Pinia |
| Routing | Vue Router 4 |
| Editor | TipTap 2 (visuell), CodeMirror 6 (AsciiDoc-källa) |
| Editor | TipTap 2 (visuell, med custom image extension), CodeMirror 6 (AsciiDoc-källa) |
| AsciiDoc | Asciidoctor.js (rendering i webbläsaren) |
| PWA | vite-plugin-pwa (Service Worker, manifest) |
| Backend | Go 1.22, HTTP-standardbibliotek |