fix(viewer): pretty print fallback tokenizer quand highlight.js ne produit aucun token (txt/log/plaintext) (#89)
CI / lint (push) Successful in 1m18s
CI / security (push) Successful in 56s
CI / test (push) Successful in 2m57s
CI / build (push) Successful in 48s
CI / e2e (push) Successful in 10m47s

This commit is contained in:
2026-09-14 19:43:50 -04:00
parent d3f7a04411
commit bb0c8e7731
4 changed files with 100 additions and 4 deletions
+25
View File
@@ -2092,6 +2092,31 @@ select {
line-height: 1.55;
white-space: pre;
}
/* Niveaux de log colorises par le fallback pretty-print (pas d'equivalent hljs) */
.pretty-view .pp-level {
font-weight: 700;
}
.pretty-view .pp-err {
color: #f87171;
}
.pretty-view .pp-warn {
color: #fbbf24;
}
.pretty-view .pp-info {
color: #38bdf8;
}
.pretty-view .pp-debug {
color: var(--text-muted);
}
[data-theme="light"] .pretty-view .pp-err {
color: #dc2626;
}
[data-theme="light"] .pretty-view .pp-warn {
color: #b45309;
}
[data-theme="light"] .pretty-view .pp-info {
color: #0369a1;
}
/* --- Markdown Rendered Content --- */
.md-content h1,