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

Placeholder, Expression #439

Open
hand-dot opened this issue Mar 4, 2024 · 3 comments
Open

Placeholder, Expression #439

hand-dot opened this issue Mar 4, 2024 · 3 comments

Comments

@hand-dot
Copy link
Collaborator

hand-dot commented Mar 4, 2024

Is your feature request related to a problem? Please describe.

Example image
image


I don't have a concrete idea of how to realize this yet.

Perhaps a template engine like Handlebars could operate at render time?
However, there is a clear need from users. This might also involve breaking changes, so it might be included in V4 depending on circumstances.

Describe the solution you'd like

  • Addding preprocessing and custom plugins for PDF generation.
  • Adding page break processing when text overflows.

Describe alternatives you've considered

Add a process to replace placeholders before calling the generate function.

Additional context

No response

hand-dot added a commit that referenced this issue Mar 4, 2024
@peteward
Copy link
Collaborator

#466 achieves this. Let me know if you were thinking of something different.

@hand-dot
Copy link
Collaborator Author

hand-dot commented Mar 31, 2024

Let's think UI of Form mode.

Currently, your PR doesn't have Implementation for Form mode, right?

@peteward
Copy link
Collaborator

Yes, I can add one though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Todo
Development

No branches or pull requests

2 participants