-
Notifications
You must be signed in to change notification settings - Fork 358
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 support for Prism.JS #54
base: master
Are you sure you want to change the base?
Conversation
You are right, I should have make those changes in different commits. "I've added support for Prism js, changed the default post-content font (Merriweather) and removed a little stuff on CSS." |
Any progress on this? Really want a better code highlighting @roryg @mauriciogior |
@lazywei checkout my fork: https://github.com/mauriciogior/ghostwriter There is a sample on my website: http://mauriciogiordano.com/ |
@mauriciogior I've checked it out, and I found a weird point: you may need to initiate the prism as well in
|
@lazywei I did it on this commit: mauriciogior@2cbd502#diff-0fec302f6f419f45f0b0796b4a6ae0cbR150 |
That's true. However, |
@lazywei So you probably want to place the initializer on the same place you did with highlight.js. |
I mean: you may also need to place the initializer to |
@lazywei There you go: mauriciogior@a73cee4 |
Hello,
I've added support for Prism js, changed the default post-content font (Merriweather) and removed a little stuff on CSS.