url formatting, page no detection, additional cleanup

This commit is contained in:
Abimael Martell
2026-02-07 14:12:19 -08:00
parent ca09103ca9
commit c2c528ff23
4 changed files with 200 additions and 40 deletions
+6
View File
@@ -250,11 +250,17 @@ fn test_markdown_options_custom() {
detect_lists: true,
detect_code: false,
base_font_size: Some(14.0),
remove_page_numbers: false,
format_urls: false,
fix_hyphenation: false,
};
assert!(!opts.detect_headers);
assert!(opts.detect_lists);
assert!(!opts.detect_code);
assert_eq!(opts.base_font_size, Some(14.0));
assert!(!opts.remove_page_numbers);
assert!(!opts.format_urls);
assert!(!opts.fix_hyphenation);
}
// ============================================================================