You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
; Whether to render SVG files as images. If SVG rendering is disabled, SVG files are displayed as text and cannot be embedded in markdown files as images.
249
249
ENABLE_RENDER = true
250
250
251
+
[ui.csv]
252
+
; Maximum allowed file size in bytes to render CSV files as table. (Set to 0 for no limit).
253
+
MAX_FILE_SIZE = 524288
254
+
251
255
[markdown]
252
256
; Render soft line breaks as hard line breaks, which means a single newline character between
253
257
; paragraphs will cause a line break and adding trailing whitespace to paragraphs is not
Copy file name to clipboardExpand all lines: docs/content/doc/advanced/config-cheat-sheet.en-us.md
+4
Original file line number
Diff line number
Diff line change
@@ -198,6 +198,10 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
198
198
199
199
-`ENABLE_RENDER`: **true**: Whether to render SVG files as images. If SVG rendering is disabled, SVG files are displayed as text and cannot be embedded in markdown files as images.
200
200
201
+
### UI - CSV Files (`ui.csv`)
202
+
203
+
-`MAX_FILE_SIZE`: **524288** (512kb): Maximum allowed file size in bytes to render CSV files as table. (Set to 0 for no limit).
204
+
201
205
## Markdown (`markdown`)
202
206
203
207
-`ENABLE_HARD_LINE_BREAK_IN_COMMENTS`: **true**: Render soft line breaks as hard line breaks in comments, which
0 commit comments