Skip to content

datagrove/markdown_to_pdf

Repository files navigation

Markdown-To-PDF

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

Run and Test

open test/test.dart, click debug. fix code repeat!

Project Goal:

A package to convert markdown to html and the resulting html to PDF.

Leverage the following packages:

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
  • Use the dart markdown extension to extend markdown

Additional Features:

  • Support for additional html embedded into markdown
    • Reference the 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
  • We should have our own plugin system for html2pdf postprocessor. Maybe based on
<script class='plugin'>{ // json }</script>

Additional References:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •