feat: datenmodell für clips

- Tabelle clips mit Art (text/code), Titel, Inhalt, Sprache, angeheftet, version
- feste Sprachliste passend zu highlight.js (Migration 0003)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dbildhauerandClaude Opus 5.5 committed 2026-10-25 11:04:33 +01:00
1 parent 66fe8feea4
commit f1bfa27ba3
4 files changed
+123 -1

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
"""Languages available for code clips; ids match highlight.js language names."""
LANGUAGES: tuple[str, ...] = (
"plaintext",
"bash",
"powershell",
"python",
"javascript",
"typescript",
"json",
"yaml",
"ini",
"xml",
"css",
"sql",
"markdown",
"dockerfile",
"nginx",
"go",
"rust",
"java",
"c",
"cpp",
"csharp",
"php",
"ruby",
"diff",
)