Closed zakame closed 4 years ago
Will this change how things look at all? Any chance of a screenshot? The markup looks cleaner to me.
Will this change how things look at all? Any chance of a screenshot? The markup looks cleaner to me.
There's a few here:
I can add a few more here, hold on.
From Mojo::Template
:
From Mojolicious::Guides::Cookbook
:
From Mojo::UserAgent
:
So the diagrams are broken now, that's unfortunate.
Let me check on fixing those diagrams. Here's the (unstyled) current prettify version of https://docs.mojolicious.org/Mojolicious/Guides/Cookbook for reference:
Updated, this also bumps highlight.js to 10.3.2 per https://github.com/highlightjs/highlight.js/releases/tag/10.3.2 and also adding some plugins for Cookbook listings (e.g. Apache/Nginx/Systemd/YAML configs.)
Updated to rebundle highlight + plugins used here as one file and rebased to latest.
Thanks again everyone! :tada:
Thank you.
Summary
This replaces the old prettify.js highlighter with highlight.js.
Motivation
prettify.js has long been abandoned by Google so we need to replace it.
References
https://github.com/mojolicious/mojo/issues/1544 https://github.com/mojolicious/mojo/pull/1578