[CLI FEATURE] Add file path headers to each file content in the generated PDF output #20
JaosnHsieh
started this conversation in
Ideas
Replies: 1 comment
-
Thanks for opening a feature request! The webapp allows for alot of extra features if you need it, specially file headers as well as line numbers, TOC and much more!! One time purchase to access @ https://repo2pdf.site |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
💡 Feature Description
Add file path headers to each file content in the generated PDF output to improve content traceability and navigation.
Problem and Motivation
Currently, the tool generates PDFs without showing the original file paths [output.pdf]. This makes it difficult to track the source location of code snippets and content within the repository structure. Users need clear file path information to understand the organizational context of each file.
Proposed Solution
Add a prominent header section at the beginning of each file's content in the PDF that clearly displays the full file path. The header should be visually distinct and consistently formatted.
Example Usage
Expected Impact
Implementation Ideas
Based on the existing code [output.pdf]:
doc.font()
anddoc.fontSize()
to style the filepath header distinctlydoc.addPage()
Related Documentation
Additional Context
This feature will particularly benefit teams doing code reviews and documentation, making it easier to reference specific files and understand the repository structure from the PDF output.
Related Issues/PRs
None currently linked
Willingness to Contribute
Beta Was this translation helpful? Give feedback.
All reactions