Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where do I look if I want to add my own elements ? #73

Open
Gaibhne opened this issue May 3, 2023 · 1 comment
Open

Where do I look if I want to add my own elements ? #73

Gaibhne opened this issue May 3, 2023 · 1 comment

Comments

@Gaibhne
Copy link

Gaibhne commented May 3, 2023

I would like to add more elements other than the default 'heading', 'lines' and 'page break', and I am not averse to learning a bit of programming to get there, and possibly turn it into a PR if that is something that would be appreciated. But as this isn't my ecosystem, it would be helpful if someone more familiar with the project layout could help me get started by pointing out where in the project that kind of thing is currently done/where I would add new/additional things.

@gmg
Copy link

gmg commented Oct 29, 2023

I would suggest looking at src/pdf/components/itinerary.jsx

That is where you will find the functions and styles for rendering items and empty lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants