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

highlight.js #65

Closed
jimr1603 opened this issue Apr 3, 2018 · 1 comment
Closed

highlight.js #65

jimr1603 opened this issue Apr 3, 2018 · 1 comment

Comments

@jimr1603
Copy link

jimr1603 commented Apr 3, 2018

The theme is really nice, but I'd like to add highlight.js code highlighting. https://highlightjs.org/
Is this something you'd consider adding to the theme, or letting me know how to add it?

@laozhu
Copy link
Owner

laozhu commented Aug 18, 2018

I use webpack to bundle required packages, If you want to import a new package, you should install highlightjs as dependencies, then you can write some javascript code in src/index.js file, finally build your new production bundle.js file.

PS: I am rewriting this theme and will replace webpack workflow with Hugo pipelines, in the new version, I will add optional hightlight.js support for you.

@laozhu laozhu closed this as completed Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants