Render xlsx same as docx #13004

Open
opened 2025-11-02 10:27:28 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @robertschulze on GitHub (May 17, 2024).

Feature Description

Recently, I realized that Gitea is able to track changes in DOCX files by converting to TXT. I think the same would also be extremely helpful for XLSX files by converting to CSV.

Unfortunately I did not find the relevant piece of code that does the DOCX extraction. Otherwise I would have taken a shot at adding it myself. Any help?

Screenshots

Annotation 2024-05-17 084338

Originally created by @robertschulze on GitHub (May 17, 2024). ### Feature Description Recently, I realized that Gitea is able to track changes in DOCX files by converting to TXT. I think the same would also be extremely helpful for XLSX files by converting to CSV. Unfortunately I did not find the relevant piece of code that does the DOCX extraction. Otherwise I would have taken a shot at adding it myself. Any help? ### Screenshots ![Annotation 2024-05-17 084338](https://github.com/go-gitea/gitea/assets/13728481/cd228357-b7a9-4d24-ba6b-66b30a90e60b)
GiteaMirror added the topic/content-renderingtype/proposaltype/upstream labels 2025-11-02 10:27:28 -06:00
Author
Owner

@eeyrjmr commented on GitHub (May 17, 2024):

This is a git feature not gitea. Hopefully xlsx is added at some point

https://github.com/git-for-windows/git/releases/tag/v2.5.3.windows.1

@eeyrjmr commented on GitHub (May 17, 2024): This is a git feature not gitea. Hopefully xlsx is added at some point https://github.com/git-for-windows/git/releases/tag/v2.5.3.windows.1
Author
Owner

@silverwind commented on GitHub (May 17, 2024):

As a workaround, try *.xlsx diff in .gitattributes which should force git to show a text diff.

@silverwind commented on GitHub (May 17, 2024): As a workaround, try `*.xlsx diff` in `.gitattributes` which should force git to show a text diff.
Author
Owner

@lunny commented on GitHub (Jul 6, 2025):

This could be implemented to create a dynamic plugin with https://sheetjs.com/ after #34917 is implemented.

@lunny commented on GitHub (Jul 6, 2025): This could be implemented to create a dynamic plugin with https://sheetjs.com/ after #34917 is implemented.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13004