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 syntax highlighter to site for code block colors #56

Open
flynnduism opened this issue Dec 22, 2021 · 3 comments
Open

Add syntax highlighter to site for code block colors #56

flynnduism opened this issue Dec 22, 2021 · 3 comments
Assignees

Comments

@flynnduism
Copy link
Collaborator

As mentioned by Radu in #55, we should use a highlighter library like hljs to improve the appearance of code blocks shown on the website

@flynnduism flynnduism self-assigned this Dec 22, 2021
@krancour
Copy link
Contributor

I think the blog needs this as well.

@GermaVinsmoke
Copy link
Contributor

How about using a module which is lightweight :)

highlight.js - minified + gzipped = 281KB
prismjs - minified + gzipped = 6.9KB

Prismjs

@krancour
Copy link
Contributor

krancour commented Mar 5, 2022

I think the blog needs this as well.

Making a note that this is no longer the case.

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

3 participants