parallax / parallax/jsPDF

Add support for svg element wen using jspdf html method

Open
#3,161 13 comments 23 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request help wanted
Dominant language
JavaScript
Stars
31.3k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

I think It would be nice if jspdf adds direct support for svg element when using HTML converter. I relay on ready icon components made of svg elements for my cv generator project. If I am honest with you I can live without this feature but it would make it easier for me and nicer to use this library.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at jsPDF's HTML converter and trace how supported HTML elements are converted into PDF content. No file or test is named in the issue, so first identify the converter's element-dispatch path and any existing handling for embedded graphics. Done means SVG elements from HTML input render correctly in the generated PDF, with coverage for the supported cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.