mirror of
https://github.com/dergigi/boris.git
synced 2026-01-20 07:14:44 +01:00
refactor: use applesauce helpers for highlight parsing
- Replace manual tag parsing with applesauce-core helper functions - Use getHighlightText, getHighlightContext, getHighlightComment, etc. - Add support for highlight comments in UI - Extract author from attributions using proper helper - Handle both event and address pointers correctly - Add styling for highlight comments This follows applesauce best practices and makes the code more robust.
This commit is contained in:
@@ -1229,6 +1229,17 @@ body {
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.highlight-comment {
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.75rem;
|
||||
background: rgba(100, 108, 255, 0.1);
|
||||
border-left: 3px solid #646cff;
|
||||
border-radius: 4px;
|
||||
font-size: 0.875rem;
|
||||
color: #ddd;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.highlight-context {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user