Skip to content

Commit 2b48eee

Browse files
Martin MahnerMartin Mahner
authored andcommitted
feat: Add image row detection for badges and status icons
- Implement JS logic to detect paragraphs containing only linked images/SVGs - Add .image-row CSS class with flexbox layout and wrapping support - Support multiple images per link (e.g. for complex badges) - Update CHANGELOG.md with new feature details
1 parent 70ecbdb commit 2b48eee

4 files changed

Lines changed: 464 additions & 139 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
- Minifies output with Terser
4444
- **Package build configuration** - Excluded development files from PyPI distribution
4545
- Excludes: `playwright/`, `templates_src/`, `node_modules/`, config files
46+
- **Image Row Detection** - Automatically detects and styles paragraphs containing only linked images
47+
- Applies `.image-row` class to paragraphs containing only linked images or SVGs
48+
- Supports multiple images per link (e.g. for complex badges)
49+
- Ensures proper alignment and spacing for badge rows
4650

4751
### Removed
4852

microdocs/templates/default/default.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)