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

Syntax highlighting in Go #428

Closed
lukewhrit opened this issue Jul 6, 2024 · 0 comments
Closed

Syntax highlighting in Go #428

lukewhrit opened this issue Jul 6, 2024 · 0 comments
Assignees
Labels
☄️ enhancement New feature or request
Milestone

Comments

@lukewhrit
Copy link
Owner

By dropping highlight.js and converting our syntax highlighter to be pure Go and done completely on the server-side we can ensure a fully featured experience for users that chose to disable JavaScript. 100% removing JavaScript from the site will ensure our website is faster and less vulnerable to bugs.

We can use Alec Thomas' Chroma library for this. With Chroma, we can automatically detect the languages but we should also add a way to override the language.

@lukewhrit lukewhrit added the ☄️ enhancement New feature or request label Jul 6, 2024
@lukewhrit lukewhrit self-assigned this Jul 6, 2024
@lukewhrit lukewhrit added this to the v1.0.3 milestone Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☄️ enhancement New feature or request
Projects
Status: 💎 Done
Development

No branches or pull requests

1 participant