• Resolved Philipp15b

    (@philipp15b)


    Hello,

    I′m using AJAX in my theme and the problem is that when new content with code is loaded, the SyntaxHighlighter does not highlight it. I have tried

    SyntaxHighlighter.all()

    but nothing happens…

    Edit: I have found the method that highlights directly without waiting for the load event:

    SyntaxHighlighter.highlight();

  • The topic ‘[Plugin: SyntaxHighlighter Evolved] Highlight again when new content is loaded via AJAX’ is closed to new replies.