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

Add support for syntax highlighting #1

Closed
KrauseFx opened this issue May 15, 2019 · 5 comments
Closed

Add support for syntax highlighting #1

KrauseFx opened this issue May 15, 2019 · 5 comments

Comments

@KrauseFx
Copy link
Owner

Code blocks currently don't support syntax highlighting, however that's something that's rather easy to add. For a minimalistic stylesheet we could take the styles from krausefx.com/css.

There are many libraries that support syntax highlighting to HTML, some even come with nice stylesheets. We gotta find one that's similar to GitHub

@FarazPatankar
Copy link

Thoughts on using Prism for the syntax highlighting?

@KrauseFx
Copy link
Owner Author

I have no preferences, as long as it's plain simple, well maintained and works well

@FarazPatankar
Copy link

I believe it ticks all the boxes. I am going to try and send a PR your way soon.

@KrauseFx
Copy link
Owner Author

Cool, thanks, and yah looks like it's MIT licensed 👍 https://github.com/PrismJS/prism/blob/master/LICENSE

@KrauseFx
Copy link
Owner Author

Working on this now

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