file_to_markdown_converter 1.0.0 copy "file_to_markdown_converter: ^1.0.0" to clipboard
file_to_markdown_converter: ^1.0.0 copied to clipboard

A Flutter library for converting CSV, XLS, and PDF files to Markdown format.

file_to_markdown_converter #

A Dart/Flutter package to convert PDF, CSV, and Excel files, as well as images (via OCR), to Markdown format.

Features #

  • Convert PDF, CSV, and XLS/XLSX files to Markdown tables or text.
  • Convert images (JPG, PNG, etc.) to Markdown using OCR, ideal for digitizing receipts or cash payment slips.
  • Ready for integration in Flutter apps.

Installation #

Add to your pubspec.yaml:

dependencies: file_to_markdown_converter: path: ../file_to_markdown_converter

Usage #

import 'package:file_to_markdown_converter/file_to_markdown_converter.dart'; import 'dart:io';

// For file-based conversion final result = await FileToMarkdownConverter.convertFile('example.pdf'); if (result.success) { print(result.markdown); }

// For image OCR (from camera or gallery) final imageFile = File('path_to_image.jpg'); final ocrResult = await OcrToMarkdownConverter.convertImageToMarkdown(imageFile); if (ocrResult.success) { print(ocrResult.markdown); }

License #

See LICENSE

2
likes
0
points
42
downloads

Publisher

verified publishermedpricehub.com

Weekly Downloads

A Flutter library for converting CSV, XLS, and PDF files to Markdown format.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

csv, excel, flutter, google_mlkit_text_recognition, meta, path, syncfusion_flutter_pdf

More

Packages that depend on file_to_markdown_converter