Skip to content

darren1231/markdown2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown2pdf

Concept

This code follow two step

  • 1.convert markdown to html( use markdown)
  • 2.conert html to markdown( use xhtml2pdf)

For quick install

 pip install -r requirements.txt

For install from package

pip install markdown
pip install xhtml2pdf
pip install tqdm

A small demo run for testing

python sample.py

Convert bunch of files

python convert_many_file.py

Change the word type

Different countries have different languages, you can easily replace the font to achieve a successful interpretation of the web page

## just change the document in font file
font/msyh.ttf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages