Tag: SyntaxHighlighter Evolved
-
Post Views: 49 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…
-
Post Views: 114 The background When writing a technical blog with a WordPress block editor (Gutenberg), I often need to include multiple code blocks in one article, such as: SQL query (SQL) Go sample code (GO) PHP code (PHP) Description text (Text) Usually, an article will contain about 10 code blocks in combination. This kind of content was very stable…
-
Post Views: 14 1. In the text mode of the editor, there are code snippets that start and end with go, as shown in Figure 1 2. Browse on the web page and find that it is not effective, it is still original text information, as shown in Figure 2 3. Get a list of valid tags (under “alias”) and…