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:
1 parent
66fe8feea4
commit
f1bfa27ba3
4 files changed
+123
-1
No files matched your search
@@ -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",
|
||||
)
|
||||
Reference in new issue
Block a user