0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-16 17:55:11 +01:00
gitea/modules/markup
KN4CK3R 0c6137617f
Add Tabular Diff for CSV files (#14661)
Implements request #14320 The rendering of CSV files does match the diff style.

* Moved CSV logic into base package.

* Added method to create a tabular diff.

* Added CSV compare context.

* Added CSV diff template.

* Use new table style in CSV markup.

* Added file size limit for CSV rendering.

* Display CSV parser errors in diff.

* Lazy read single file.

* Lazy read rows for full diff.

* Added unit tests for various CSV changes.
2021-03-29 22:44:28 +02:00
..
common
csv
external
markdown
mdstripper
orgmode
html_internal_test.go
html_test.go
html.go
markup_test.go
markup.go
sanitizer_test.go
sanitizer.go