Syntax-highlighting Code Block has support for AMP.Ī fantastic alternative to Code Syntax Block is Syntax-highlighting Code Block. Although it’s not something I see myself using, those who are publishing science articles will appreciate the ability to display mathematics, formulas, flow diagrams and charts. The remaining modules are Copy to Clipboard, Image Paste, Table of Content, KaTex, Mermaid, Flow Chart, Sequence Diagrams, MathJax and Emojify. If you choose Highlight.js instead, you gain access to over 80 colour schemes and the ability to self-host files or deliver them from Cloudflare. You can also choose to self-host files or deliver them through Cloudflare or jsDelivr. Prism.js offers eight colour schemes and an option to display line numbers. When one of these syntax highlight modules is enabled, the other will be automatically disabled. One is for the Prism.js Javascript library and the other is for the Highlight.js Javascript library (and yes…these are the same two Javascript libraries found in the Prismatic WordPress plugin). There are two syntax highlighting modules. An example is provided for each module, but be aware that if a specific module is not enabled on this page, it will not be available in the markdown editor. On the modules settings page, you can enable and configure 11 unique modules. There are dozens of settings to configure in the plugin settings area.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |