complete the table rendering
Python CI / test (push) Successful in 6m37s

This commit is contained in:
2025-11-07 19:45:47 +01:00
parent b1553f1628
commit 03918fc716
8 changed files with 1116 additions and 6 deletions
+34
View File
@@ -51,6 +51,38 @@ Demonstrates:
![Page Layouts Example](../docs/images/example_03_page_layouts.png)
### 04. Table Rendering
**`04_table_rendering.py`** - HTML table rendering with styling
```bash
python 04_table_rendering.py
```
Demonstrates:
- Rendering HTML tables
- Table headers and body rows
- Cell borders and padding
- Caption support
- Custom table styling
![Table Rendering Example](../docs/images/example_04_table_rendering.png)
### 05. Tables with Images
**`05_table_with_images.py`** - Tables containing images and mixed content
```bash
python 05_table_with_images.py
```
Demonstrates:
- Creating tables programmatically
- Adding images to table cells
- Book catalog and product showcase tables
- Mixed content (images and text) in cells
- Using cover images from test data
![Table with Images Example](../docs/images/example_05_table_with_images.png)
## Advanced Examples
### HTML Rendering
@@ -72,6 +104,8 @@ cd examples
python 01_simple_page_rendering.py
python 02_text_and_layout.py
python 03_page_layouts.py
python 04_table_rendering.py
python 05_table_with_images.py
```
Output images are saved to the `docs/images/` directory.