tessl install tessl/pypi-mdutils@1.8.0A comprehensive Python library for programmatically creating and manipulating Markdown files with support for headers, tables, lists, images, links, and text formatting.
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.9x
Baseline
Agent success rate without this tile
42%
A Python utility that generates a formatted Markdown report showcasing product images with various display configurations.
Create a report that displays product images with different sizing and alignment options to create an attractive product showcase layout.
@generates
def generate_product_showcase(products, output_file):
"""
Generates a Markdown report showcasing products with images.
Args:
products: List of dicts, each containing:
- 'name': Product name (str)
- 'image_path': Path to product image (str)
- 'width': Optional width in pixels (int or None)
- 'height': Optional height in pixels (int or None)
- 'align': Alignment ('left', 'center', or 'right')
output_file: Path where the Markdown file should be created (str)
Returns:
None - Creates the Markdown file at the specified path
"""
passProvides Markdown generation support with HTML image capabilities.
@satisfied-by