forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gatsby-remark-prismjs): load languages when referred to by an al…
…ias (gatsbyjs#13127) Currently, referring to a language by an alias (defined in https://github.com/PrismJS/prism/tree/master/components) doesn't work unless the language is already loaded. This PR adds first class support for aliases so that languages are loaded when they are referred to by their aliases as well. Fixes gatsbyjs#13119
- Loading branch information
1 parent
30070ec
commit de8f99b
Showing
2 changed files
with
85 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters