HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

SyntaxHighlighter Can't find brush for: undefined

This discussion is related to the CreativeSyntaxHighlighter addon.
JasonBarnabeJasonBarnabe Cynical Salamander ✭✭

Anything I post, I get "SyntaxHighlighter Can't find brush for: undefined" as an alert on load.

Comments

  • Hi, did you choose the code language that you want to use, like: <pre lang="CODE_LANGUAGE_VALUE">.
    Please see the documentation, and if it doesn't work, you need to explain what did you do.
    Cheers

  • JasonBarnabeJasonBarnabe Cynical Salamander ✭✭

    Yes, I post:

    <pre lang="javascript">function foo() {
    }</pre>
    

    And it shows up syntax-highlighted, but alerts "SyntaxHighlighter Can't find brush for: undefined" twice on page load.

Sign In or Register to comment.