git » alan.git » commit 5fae0b7

Reduce booklet version line footprint

author Alan Dipert
2025-12-04 16:10:21 UTC
committer Alan Dipert
2025-12-04 16:10:21 UTC
parent d0233b099ec22b10549f514f54af3d6bfff00137

Reduce booklet version line footprint

render_text.py +4 -2

diff --git a/render_text.py b/render_text.py
index a33d0d5..0c8762d 100644
--- a/render_text.py
+++ b/render_text.py
@@ -33,8 +33,10 @@ def render_booklet(data: Dict[str, Any]) -> str:
         joined = ", ".join(f"{k}={v}" for k, v in sorted(params.items()))
         info_bits.append(f"params: {joined}")
     if info_bits:
-        lines.append(f"*Test Version: {'; '.join(info_bits)}*")
-        lines.append("")
+        lines.append(
+            f"<div style=\"font-size: 0.9em; font-style: italic; margin: 0 0 4px 0;\">"
+            f"Test Version: {'; '.join(info_bits)}</div>"
+        )
     if meta.get("instructions"):
         lines.append(meta["instructions"])
         lines.append("")