A comprehensive Python library for programmatically creating and manipulating Markdown files with support for headers, tables, lists, images, links, and text formatting.
80
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
Install with Tessl CLI
npx tessl i tessl/pypi-mdutilsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10