The Wayback Machine - https://web.archive.org/web/20200906133851/https://github.com/mojolicious/mojo/issues/1544
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

Replace prettify.js with something maintained #1544

Open
kraih opened this issue Aug 1, 2020 · 0 comments
Open

Replace prettify.js with something maintained #1544

kraih opened this issue Aug 1, 2020 · 0 comments

Comments

@kraih
Copy link
Member

@kraih kraih commented Aug 1, 2020

pretty

For syntax highlighting on the exception page we still use prettify.js, which like most Google projects has been abandoned. So we should really replace it with something better, like highlight.js.

There was actually an attempt before, but it failed because of interdependencies with mojolicious.org. That is no longer a problem, because assets are not shared anymore.

For testing you can use the included example app examples/responses.pl (perl -Ilib examples/responses.pl daemon). The screenshot above was taken of a request for http://127.0.0.1:3000/res5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.