From 3e651adcfbcda14a0c4d443c6900be20ecb7c9a9 Mon Sep 17 00:00:00 2001 From: tegwick Date: Mon, 27 Oct 2025 11:59:16 +0100 Subject: [PATCH] feat: add smaller font-size styling for tables in md-render MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set table font-size to 0.85em for improved readability - Add professional table styling with borders and spacing - Include header styling with background color and bold text - Enhance visual hierarchy in generated HTML documents 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- markitect/clean_document_manager.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/markitect/clean_document_manager.py b/markitect/clean_document_manager.py index 85cb01f5..9cb98529 100644 --- a/markitect/clean_document_manager.py +++ b/markitect/clean_document_manager.py @@ -174,6 +174,22 @@ class CleanDocumentManager: padding-left: 1rem; color: #6a737d; } + table { + font-size: 0.85em; + border-collapse: collapse; + margin: 1rem 0; + width: 100%; + } + th, td { + font-size: inherit; + border: 1px solid #dfe2e5; + padding: 0.5rem; + text-align: left; + } + th { + background: #f6f8fa; + font-weight: 600; + } """