Is there a recommended pipeline for "printable" (PDF-able) HTML?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.3k
- Forks
- 510
- Avg merge
- 8d 5h
- Merged PRs (30d)
- 5
Description
I'm using MarkDig in an application that will render the Markdown as HTML for a page viewed in a browser, but also in a page which is converted into a printable PDF (using wkhtmltopdf and/or Puppeteer), so things like embedded videos using UseMediaLinks() won't work.
One of the main things I'd like to change is rendering Markdown hyperlinks as plaintext but keeping the link target in parentheses after the link-text (but still keeping it clickable as users may open the PDF on their computer).
If there isn't a built-in way to do this, I'll be happy to contribute a PR.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing MarkDig's hyperlink rendering and the UseMediaLinks() behavior, then compare the requested output with the PDF workflows named in the issue: wkhtmltopdf and Puppeteer. Done should mean either a documented recommended printable-HTML pipeline or a clearly scoped implementation for preserving link targets while keeping links clickable; no repository files or tests are named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100