Category: SyntaxHighlighter Evolved
-
Post Views: 21 1. Discover problems Recently, when I was using the Polylang + AutoPoly plugin to multilingually translate the blog, I found a strange phenomenon: – The code block inserted by the Gutenberg editor (SyntaxHighlighter block), the code format in the translated English article is intact, and the indentation, angle brackets, etc. are all normal. – The code blocks…
-
Post Views: 25 When displaying code snippets containing emoji in WordPress, it is often encountered that Emoji is converted into 🎉 Or <img> label problem. This article records a complete investigation and solution process. problem In the code block of the WordPress Gutenburg editor, write the following PHP code, as shown in Figure 1: After saving the article, the front…
-
Post Views: 50 The correct display of code blocks is critical when writing a technical blog. Recently, I’m having trouble with code blocks using the WordPress Gutenberg editor, and I’m struggling to find a better solution. After repeated exploration, I finally summed up a complete set of ‘from manual to automatic’ complete plan, which can not only solve the problem…
