We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What language should I use for highlighting CSV data?
The text was updated successfully, but these errors were encountered:
Seems like Prism doesn't have a language for CSV yet.
Do we also want to add support for DSV and TSV?
Spec: https://tools.ietf.org/html/rfc4180
Sorry, something went wrong.
Any examples of syntax highlighting for CSVs? I'm honestly not sure I've seen that.
Well, there's not much to highlight.
Prism.languages.csv = { 'value': /[^\r\n",]|"(?:[^"]|"")"(?!")/, 'separator': /,/ };
That would be the whole grammar, or did I forget some feature?
Just something to consider.
Software like bat and the vim plugin rainbow_csv use color to highlight the different columns in a csv by default:
It would be great to see prism do this as well.
Successfully merging a pull request may close this issue.
What language should I use for highlighting CSV data?
The text was updated successfully, but these errors were encountered: