refactor: remove non-functional export mode dropdown

Remove the export mode dropdown from both export modal and settings
since switching between "typography" and "style-preserving" modes
had no actual effect on PDF output.

Changes:
- Remove ExportMode enum and all references
- Remove export mode UI from modal and settings tab
- Clean up unused export_mode parameter from templates
- Remove export_mode variable passing to Pandoc
- Add "sharp" to esbuild external dependencies

This simplifies the UI and removes confusing options that didn't
work, focusing users on the functional typography settings instead.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jarvis committed 2025-09-01 10:45:57 +02:00
1 parent 3fd6dde592
commit 4a7831d86f
6 files changed
+816 -206

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ const context = await esbuild.context({
"@lezer/common",
"@lezer/highlight",
"@lezer/lr",
"sharp",
...builtins],
format: "cjs",
target: "es2018",