Gitea: Button to convert markdown/rst/orgmode file to PDF and download

Created on 12 Jun 2017  路  4Comments  路  Source: go-gitea/gitea

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

kinfeature kinproposal

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....

All 4 comments

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....

Was this page helpful?
0 / 5 - 0 ratings