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

Add the filename text to the generated image. #89

Open
yusheng-guo opened this issue Apr 30, 2024 · 3 comments · May be fixed by #107
Open

Add the filename text to the generated image. #89

yusheng-guo opened this issue Apr 30, 2024 · 3 comments · May be fixed by #107

Comments

@yusheng-guo
Copy link

yusheng-guo commented Apr 30, 2024

When generating images for multiple code files, I would like to mark the file names on the images so that the relationship between files can be clearer.

For example, it is possible to add "--filename CUSTOMIZATION" to generate an image with the file name in the middle of the top.

Currently I can only mark the file name through a picture editor.

Looking forward to your reply, thank you very much😊!

Snipaste_2024-04-30_13-11-48

@yusheng-guo yusheng-guo changed the title Add the file name text to the generated image. Add the filename text to the generated image. Apr 30, 2024
@AlejandroSuero
Copy link
Contributor

@yushengguo557 You want this feature to be shown when using window controls only or when passing lets say --output.show-filename=true regardless of window controls?

@yusheng-guo
Copy link
Author

Be shown only when using window controls. 🙂

AlejandroSuero added a commit to AlejandroSuero/freeze that referenced this issue Jun 8, 2024
@AlejandroSuero AlejandroSuero linked a pull request Jun 8, 2024 that will close this issue
1 task
@AlejandroSuero
Copy link
Contributor

@yushengguo557 I added the PR above with the feature if you want to try it out.

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

Successfully merging a pull request may close this issue.

2 participants