For a company, we need a formal document to cooperators. Since Gitea has supported markdown to HTML, then provide a PDF download or some PDF settings is a good idea. Now we can covert Markdown to HTML and we can covert HTML to PDF via https://github.com/jung-kurt/gofpdf
I try to implement it but I am not sure if I am able to do it.
@JonasFranzDEV you cannot be assigned But I think it's enough that you have posted a comment. Please try and send a PR.
Personally I'd just have a print
-CSS and use the browsers print-facility :/ (which we'd to use need anyhow...)
@jonasfranz is there any progress on this? We document a lot in Markdown format and it would be awesome to be able to print a Markdown file from Gitea to PDF. Doesn't need to be a PDF export IMHO, a simple print CSS which leverages the browsers print-facility would be enough as @bkcsoft suggested....
Most helpful comment
@jonasfranz is there any progress on this? We document a lot in Markdown format and it would be awesome to be able to print a Markdown file from Gitea to PDF. Doesn't need to be a PDF export IMHO, a simple print CSS which leverages the browsers print-facility would be enough as @bkcsoft suggested....