fix(ui): render markdown horizontal rules (#498)

## Summary
- render Markdown horizontal rules instead of hiding them in message
content
- keep the existing Markdown parser behavior and style the generated hr
with the shared border token

Solves #491

## Validation
- npm run typecheck --workspace @codenomad/ui
- npm run build:linux --workspace @neuralnomads/codenomad-electron-app

## Test release artifact
Built locally for Linux; artifacts are ignored and not included in this
PR:
- packages/electron-app/release/CodeNomad-Electron-linux-x64-0.16.0.zip
-
packages/electron-app/release/CodeNomad-Electron-linux-x86_64-0.16.0.AppImage

Co-authored-by: Shantur Rathore <i@shantur.com>
Co-authored-by: Pascal André <pascalandr@gmail.com>
This commit is contained in:
Claas Pancratius 2026-05-23 22:38:52 +02:00 committed by GitHub
parent b142c2a681
commit a9c9b427c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,10 @@
}
.markdown-body hr {
display: none;
height: 1px;
margin: 0.9rem 0;
background-color: var(--border-base);
border: 0;
}
.markdown-body strong {