Compose tips

  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
  • Syntax highlight code surrounded by the {syntaxhighlighter OPTIONS}...{/syntaxhighlighter} tags, where OPTIONS is a Syntaxhighlighter options string.

    Example: {syntaxhighlighter brush:php;collapse:true;first-line:50;highlight:[57,81,101];class-name:'some_class some_other_class'}...{/syntaxhighlighter}

    This will syntax highlight PHP code, initially collapsed, start line number at 50, highlight lines 57, 81 and 101 and tag highlighted code with class names some_class and some_other_class.

    See usage, language aliases and options for additional helps.

    Note: instead of using the raw HTML <pre> tag markup from the original Syntaxhighlighter Javascript Library, you enable the Syntaxhighlighter filter in an input format, and then use the {syntaxhighlighter OPTIONS}...{/syntaxhighlighter} markup using that input format. The OPTIONS string is whatever you would put inside the class string as in <pre class="OPTIONS">...</pre> according to the original Javascript Library format. Secondly, you do not need to escape the "<" and ">" characters in your program code as required by the original Syntaxhighlighter Javascript Library. This is automatically taken care of so you can leave your program code completely unchanged. Thirdly, if you use the HTML filter, you must allow the <pre> tag.