Skip to content
New issue

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

Add Prisma syntax to highlight.js #2337

Open
matthewmueller opened this issue Apr 30, 2020 · 5 comments
Open

Add Prisma syntax to highlight.js #2337

matthewmueller opened this issue Apr 30, 2020 · 5 comments
Labels
kind/feature A request for a new feature. team/pdp Issue for team Prisma Data Platform. team/schema Issue for team Schema. topic: ecosystem topic: editor

Comments

@matthewmueller
Copy link
Contributor

Problem

While we already have syntax highlighting for VSCode and GitHub, we should also add syntax highlighting to https://highlightjs.org/

@matthewmueller matthewmueller added the kind/feature A request for a new feature. label Apr 30, 2020
@github-actions github-actions bot added the Stale label Jul 22, 2020
@janpio janpio added the team/pdp Issue for team Prisma Data Platform. label Apr 6, 2021
@meech-ward
Copy link

Did anything ever happen with this?

This is the only thing that pops up when I google 'highlightjs prisma'

It's a tough google because prisma is too close to prism

@Posandu
Copy link

Posandu commented Dec 28, 2022

Any updates on this? Is there any other language to highlight prisma code?

@Jolg42
Copy link
Member

Jolg42 commented Apr 26, 2023

We found out in prisma/language-tools#1401 that this would be needed to have syntax highlighting in VS Code markdown preview

@Jolg42 Jolg42 added the team/schema Issue for team Schema. label Apr 26, 2023
@Jolg42
Copy link
Member

Jolg42 commented Apr 26, 2023

Their developer docs are
https://highlightjs.readthedocs.io/en/latest/

And this would be what someone would need to check to add support:
https://highlightjs.readthedocs.io/en/latest/language-requests.html

For more info on actually developing a language see our Language Definition Guide, and for information on how to properly package your 3rd party language module see Language contributor checklist.

Feel free to have a look at it, if you are interested to work on this, I'm happy to review it.
We have to prioritize and it's not easy!

@Jolg42
Copy link
Member

Jolg42 commented Apr 26, 2023

Note: The Prisma VS Code extension has some syntax files https://github.com/prisma/language-tools/tree/main/packages/vscode/syntaxes

@janpio janpio changed the title Add Prisma syntax highlight.js Add Prisma syntax to highlight.js Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature A request for a new feature. team/pdp Issue for team Prisma Data Platform. team/schema Issue for team Schema. topic: ecosystem topic: editor
Projects
None yet
Development

No branches or pull requests

6 participants