Module validation

Module validation 

Source
Expand description

Validation and warning system for markdown2pdf

This module provides pre-flight checks that warn users about potential issues without blocking PDF generation.

Structsยง

ValidationWarning
Represents a non-critical warning that doesnโ€™t prevent PDF generation

Enumsยง

WarningKind
Types of warnings that can be issued

Functionsยง

check_image_references ๐Ÿ”’
Checks for image references and validates paths exist
check_syntax_issues ๐Ÿ”’
Checks for common markdown syntax issues
detect_unicode_chars ๐Ÿ”’
Detects if markdown contains non-ASCII Unicode characters
has_unicode_font ๐Ÿ”’
Checks if font config has Unicode-capable fonts
validate_conversion
Validates markdown content and configuration, returning warnings