Skip to content

Add syntax highlighting to CSV and TSV files#7738

Merged
lildude merged 2 commits intomainfrom
csv-highlighting
Jan 8, 2026
Merged

Add syntax highlighting to CSV and TSV files#7738
lildude merged 2 commits intomainfrom
csv-highlighting

Conversation

@Alhadis
Copy link
Copy Markdown
Collaborator

@Alhadis Alhadis commented Jan 8, 2026

Description

This pull-request adds two recently-written grammars to highlight CSV and TSV files. While these are normally rendered as searchable tables on GitHub (and thus their textual contents are rarely displayed), the same isn't true for embedded CSV/TSV code-blocks in Markdown:

```csv
Name,Age,Country
John,38,Australia
Collin,,South Africa
```

This was requested in a GitHub discussion thread, though I don't remember where. It's been buried under too many notifications for me to easily find it.

Checklist

@Alhadis Alhadis requested a review from a team as a code owner January 8, 2026 16:12
@Alhadis Alhadis requested a review from lildude January 8, 2026 16:12
@Alhadis
Copy link
Copy Markdown
Collaborator Author

Alhadis commented Jan 8, 2026

/cc @lildude This should be relatively low-hanging fruit as far as pull-requests go.

@lildude lildude added this pull request to the merge queue Jan 8, 2026
Merged via the queue into main with commit de46d4c Jan 8, 2026
9 checks passed
@lildude lildude deleted the csv-highlighting branch January 8, 2026 17:22
@DecimalTurn
Copy link
Copy Markdown
Contributor

This should close #7630

@github-linguist github-linguist locked as resolved and limited conversation to collaborators Apr 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants