Add syntax highlighting to CSV and TSV files by Alhadis · Pull Request #7738 · github-linguist/linguist · GitHub
Skip to content

Add syntax highlighting to CSV and TSV files#7738

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

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

Conversation

@Alhadis

@Alhadis Alhadis commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator

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

Alhadis commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator Author

@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

@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