An open API service indexing awesome lists of open source software.

https://github.com/datagrove/markdown-to-pdf

Dart code for transforming markdown files to HTML and HTML to PDF.
https://github.com/datagrove/markdown-to-pdf

Last synced: 3 months ago
JSON representation

Dart code for transforming markdown files to HTML and HTML to PDF.

Awesome Lists containing this project

README

          

# Deprecated Please see: https://github.com/datagrove/markdown_to_pdf

# Markdown-To-PDF
Dart package for transforming markdown files to HTML and HTML to PDF.

Project Goal:
A package to convert markdown to html and the resulting html to PDF.

Leverage the following packages:
- [markdown](https://pub.dev/packages/markdown)
- [html](https://pub.dev/packages/html)
- [pdf](https://pub.dev/packages/pdf)

Requirements:
- Pure Dart
- Works on all dart platforms including all flutter platforms
- Accepts box constraint
- Returns amount of html rendered such that rendering can resume on a subsequent page
- Follow standards and requirements for publication on pub.dev
- Support enough html to support basic markdown

Additional Features:
- Support for additional html embedded into markdown
- Reference the [flutter_html](https://pub.dev/packages/flutter_html) as an example of a package that implements growing and extendible subset of html
- Be able to create a PDF of marp-style slide decks
- [Marp Markdown](https://marp.app)

Additional References:
- [Python Solution](https://weasyprint.org)