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.
- Host: GitHub
- URL: https://github.com/datagrove/markdown-to-pdf
- Owner: datagrove
- License: mit
- Created: 2022-07-19T21:14:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-21T16:42:08.000Z (over 3 years ago)
- Last Synced: 2025-02-24T13:48:28.889Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)