Closed nicolae-stroncea closed 1 year ago
@alexwforsythe Any chance you can take a look into merging this?
Please, I need this!
V pumped for this.
@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, https://github.com/alexwforsythe/code-blocks/pull/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 https://github.com/alexwforsythe/code-blocks/issues/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.