Skip to content

gmankab/md_pdf_convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md to pdf convert

run on github actions

  1. fork repo
  2. go to https://github.com/YOUR_USERNAME/md_pdf_convert/settings/actions -> workflow permissions -> click read and write permissions -> save
  3. put your .md files in md dir
  4. commit and push changes
  5. .pdf and .typ files will appear on releases page

run on local machine

  1. clone repo:
git clone https://github.com/gmankab/md_pdf_convert
  1. put your .md files in md dir
  2. install distrobox
  3. create arch distrobox:
distrobox create -i docker.io/archlinux:latest -n arch
  1. install dependencies:
distrobox enter arch -- sudo pacman -Syu --noconfirm pandoc typst
  1. run converter:
distrobox enter arch -- python convert.py

faq

q: how to run on windows?

a: use wsl or use github actions

q: how to chane font and font size?

a: see line 11 in convert.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages