-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Added graphql language #185
Added graphql language #185
Conversation
@alexwforsythe Any chance you can take a look into merging this? |
Please, I need this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good -- will approve once the formatting & naming comments are addressed!
V pumped for this. |
Co-authored-by: Alexander Momchilov <[email protected]>
@alexwforsythe Hey Alex, do you have any plans for when you'd cut a new release that contains this? Funny enough, I have a tech design review on Monday, I would love to format my GraphQL blocks for it :D |
on the subject, #216 needs to be approved for this PR to work correctly as currently the name of the function we're calling is different from the name of the function we wrote |
Closes #171.
Highlight.js does not add new languages anymore, and instead encourages 3rd parties to develop their own packages that they will link to from here Supported Languages.
From the official docs:
Therefore, to add support in
code-blocks
for new languages, packages for those languages will have to be explicitly pulled.In this PR I've defined a function in which other languages can also be added in the future, add added
graphql
in there.