diff --git a/app/templates/base.html b/app/templates/base.html index 5fde20f..d63f294 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -195,6 +195,22 @@ .field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 5px; } .error { background: #7f1d1d; color: #fecaca; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: .9rem; } .muted { color: var(--muted); } + .md-help { margin-top: 6px; } + .md-help summary { + cursor: pointer; display: inline-flex; align-items: center; gap: 5px; + color: var(--accent-hover); font-size: .8rem; user-select: none; + } + .md-help summary::-webkit-details-marker { display: none; } + .md-help table { + margin-top: 8px; border-collapse: collapse; font-size: .8rem; + } + .md-help td { + padding: 3px 12px 3px 0; vertical-align: top; color: var(--muted); + } + .md-help td:first-child { white-space: nowrap; } + .md-help code { + background: var(--panel2); padding: 1px 5px; border-radius: 4px; color: var(--text); + } .htmx-indicator { opacity: 0; transition: opacity .2s; } .htmx-request .htmx-indicator { opacity: 1; } .htmx-request.htmx-indicator { opacity: 1; } diff --git a/app/templates/prompts.html b/app/templates/prompts.html index 5fa2441..9b06150 100644 --- a/app/templates/prompts.html +++ b/app/templates/prompts.html @@ -40,6 +40,21 @@
# Text | Überschrift |
**Text** | fett |
*Text* | kursiv |
- Text | Aufzählung |
1. Text | nummerierte Liste |
> Text | Zitat |
`Text` | Inline-Code |
``` | Codeblock (davor & danach) |
[Text](url) | Link |