撰寫提示
- 自動將網址與電子郵件位址轉變為連結。
- 會自動識別行與段。會自動插入 <br />分行、<p> 段落開始以及lt;/p>段落結束標記。 如果沒有自動分段,你可以手動插入兩個空行。
- 可使用的 HTML 標籤:<a> <blockquote> <br> <cite> <code> <dd> <div> <dl> <dt> <em> <li> <ol> <p> <pre> <span> <strong> <ul>
Syntax highlight code surrounded by the
{syntaxhighlighter SPEC}...{/syntaxhighlighter}tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".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 the Syntaxhighlighter javascript library site for additional helps.