Questions tagged [syntax-highlighting]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
289 views

Getting &lt; and &gt; instead of < > while posting code

hi everyone I am getting this &lt and &gt instead of < and > while posting my code, I am using enlighter plugin, I was using syntax highlighter before there also I was facing the same ...
2
votes
0answers
1k views

Strange problems when I try to insert HTML\XML code snippet in my posts

I am experiencing some problems while trying to insert XML code snippet into my WordPress articles. I have just read this tutorial: http://codex.wordpress.org/Writing_Code_in_Your_Posts I am using ...
1
vote
0answers
76 views

code highiglight not working comment

SyntaxHighlighter Evolved plugin installed on my blog. Code highlight working on post,but no comments.. I am showing the comment form with the different codes : <form method="post" name="...
0
votes
0answers
12 views

Display of code in Post Error

Im trying to post some lines of code in a blog post and Im having some difficulties with SyntaxHighlighter Evolved plugin. According to the documentation, to write some python code i should be able ...
0
votes
0answers
250 views

Wordpress 5.1 and Syntax highlighter, problem with HTML encoded special characters

I'm using Wordpress 5.1 and Gutenberg block editor. I'm trying to show some Java code with the plugin SyntaxHighlighter Evolved. When editing a post I use the block 'Custom HTML' then add the code [...
0
votes
1answer
36 views

Highlight inner post menu current item

WordPress has a built in feature that assigns the class “current-menu-item” to the current navigation item. Nevertheless, that feature only works for contextual menus; and not for the ones inside the ...
0
votes
0answers
41 views

Multi Language Code Snippet in Wordpress

I write Programming articles in my Wordpress website. My articles contain content for different languages with code samples. I want to allow user to choose which programming language he prefer. ...
0
votes
1answer
122 views

Visual Editor not working properly

I have facing this issue since last one month. I would like to display my source code using the Syntax Highlighter so i have changed my editor mode from visual to text. I put my code in [html] &...
0
votes
0answers
603 views

Embedding code snippets in posts with indentation

I have a privately hosted blog using WordPress, and I am using the SyntaxHighlighter Evolved plugin for displaying highlighted code snippets nicely. I use the built-in editor in WordPress for writing ...
0
votes
0answers
68 views

Content instead Excerpt on term

Is it possible to show limitation (dynamically) of the contents near the search term value. I knew how how to using excerpt, but what I am talking about is, search result content limitation character ...
0
votes
1answer
105 views

Source code get entity escaped after migrating

I have a lot of posts with source code on it. After migrating my blog from wordpress.com to self-hosting, the source code all have HTML entity escaping, for example: [code] printf(&quot;hello&...
0
votes
1answer
396 views

How can I do syntax highlighting for files included with a custom shortcode?

I'm writing a tutorial on using the R language to do some applied statistics. An example post is: http://mcmcinirt.stat.cmu.edu/archives/223 This answer taught me how to develop a custom shortcode ...
0
votes
0answers
58 views

How to filter PHP opener?

I've been searching the web and in this great forum but I didn't find anything. I got some issue with a code higlighter plugin. Everything is fine except that some php tags do not work properly : &...