I decided to remove the WordPress plugin Crayon Syntax Highlighter.
The reason is because there is an alternative means. So, you do not need to use a plugin.
In view of the performance of the site, and considering "Search Engine Optimization" it is better to have fewer plugins.
I decided to use Prism.js as an alternative.
Why did not you choose highlighter.js?
I did not choose this one this time. The primary reason is that line number display is not the default function.
It optimizes with "Autoptimize" of WordPress plugin, so is not it such a thing? There may be opinion that it is. It is certainly so.
The Autoptimize plugin is limited to those not customized. So I chose Prism.js with similar functionality.
Prism.js can choose features to implement
Do not you care about such a small thing? It does not affect it, is it? You may think.
However, I noticed something when working on improving site performance. The fact that such stacking of small works is not easily ignorable existence.
It is also an important factor to seek how to efficiently achieve the purpose. But what you can not solve is that it is important to move your hands as well.
Here is how to implement Prism.js. Please take a look.