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

Support all available Prism grammars and use prism autoloader plugin to dynamically load grammars on page #20

merged 6 commits into from Nov 12, 2018


Copy link

commented Oct 26, 2018

(Resolved merge conflict w/previous pull request #15)

Dynamically loads languages that are required on the page with the Prims Autoloader plugin.

Adds support for all Prism grammars

(Ref: #2, #14)

jazanne added some commits Sep 22, 2018

Adds syntax support for all available Prism grammars (Prism 1.15.0)
prism-languages.json was taken from Prism
components.json file

it could be condensed in future to remove irrelevant extra info

@jazanne jazanne force-pushed the jazanne:support-all-langs branch from 92366a4 to e32fb01 Oct 26, 2018

jazanne and others added some commits Oct 26, 2018


This comment has been minimized.

Copy link

commented Nov 3, 2018

Thanks @jazanne for the updated PR. I'm pushed up some changes to fix the setting of languages array, I was seeing errors when loading a previous block.

Take a look at let me know if it works for you.


This comment has been minimized.

Copy link
Contributor Author

commented Nov 5, 2018

Looks good. Thanks for making those changes

@mkaz mkaz merged commit 9514529 into mkaz:master Nov 12, 2018

@jazanne jazanne deleted the jazanne:support-all-langs branch Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.