Skip to content

Commit 2fa9598

Browse files
committed
Change columns default
1 parent 31f1d1e commit 2fa9598

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/syntax/csv-include.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Specify a custom field separator (default is comma):
5454
The directive includes built-in performance limits to handle large files efficiently:
5555

5656
- **Row limit**: Maximum of 25,000 rows will be displayed
57-
- **Column limit**: Maximum of 100 columns will be displayed
57+
- **Column limit**: Maximum of 10 columns will be displayed
5858
- **File size limit**: Maximum file size of 10MB
5959

6060
## Performance considerations

src/Elastic.Markdown/Myst/Directives/CsvInclude/CsvIncludeBlock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class CsvIncludeBlock(DirectiveBlockParser parser, ParserContext context)
1919
public string Separator { get; private set; } = ",";
2020
public int MaxRows { get; private set; } = 25000;
2121
public long MaxFileSizeBytes { get; private set; } = 10 * 1024 * 1024; // 10MB
22-
public int MaxColumns { get; private set; } = 100;
22+
public int MaxColumns { get; private set; } = 10;
2323

2424
public override void FinalizeAndValidate(ParserContext context)
2525
{

0 commit comments

Comments
 (0)