Difference between revisions of "Markdown Editor"
Line 23: | Line 23: | ||
A convenient and easily accessible Markdown Guide is provided within the product accessible via the Help icon within the editor toolbar at any time. | A convenient and easily accessible Markdown Guide is provided within the product accessible via the Help icon within the editor toolbar at any time. | ||
− | + | <table class="table table-striped"> | |
+ | <tr> | ||
+ | <td>'''Markdown'''</td> | ||
+ | <td>'''Output'''</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <nowiki># This is an <h1> tag</nowiki> | ||
+ | |||
+ | <nowiki>## This is an <h2> tag</nowiki> | ||
+ | |||
+ | <nowiki>###### This is an <h6> tag</nowiki> | ||
+ | </td> | ||
+ | <td> | ||
+ | <samp><h1>This is an <h1> tag</h1> | ||
+ | <h2>This is an <h2> tag</h2> | ||
+ | <h6>This is an <h6> tag</h6> | ||
+ | </samp> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td><nowiki>*This text will be italic*</nowiki> | ||
+ | |||
+ | <nowiki>_This will also be italic_</nowiki> | ||
+ | |||
+ | <nowiki>**This text will be bold**</nowiki> | ||
+ | |||
+ | <nowiki>__This will also be bold__</nowiki> | ||
+ | |||
+ | <nowiki>_You **can** combine them_</nowiki> | ||
+ | </td> | ||
+ | <td> | ||
+ | <samp><p><em>This text will be italic</em></p> | ||
+ | <p><em>This will also be italic</em></p> | ||
+ | <p><strong>This text will be bold</strong></p> | ||
+ | <p><strong>This will also be bold</strong></p> | ||
+ | <p><em>You <strong>can</strong> combine them</em></p> | ||
+ | </samp> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <nowiki>* Item 1</nowiki> | ||
+ | |||
+ | <nowiki>* Item 2</nowiki> | ||
+ | |||
+ | <nowiki> * Item 2a</nowiki> | ||
+ | |||
+ | <nowiki> * Item 2b</nowiki> | ||
+ | </td> | ||
+ | <td> | ||
+ | <samp><ul><li>Item 1</li> | ||
+ | <li>Item 2 | ||
+ | <ul><li>Item 2a</li> | ||
+ | <li>Item 2b</li> | ||
+ | </ul></li> | ||
+ | </ul></samp> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <nowiki>1. Item 1</nowiki> | ||
+ | |||
+ | <nowiki>2. Item 2</nowiki> | ||
+ | |||
+ | <nowiki>3. Item 3</nowiki> | ||
+ | |||
+ | <nowiki> * Item 3a</nowiki> | ||
+ | |||
+ | <nowiki> * Item 3b</nowiki> | ||
+ | </td> | ||
+ | <td> | ||
+ | <samp><ol><li>Item 1</li> | ||
+ | <li>Item 2</li> | ||
+ | <li>Item 3 | ||
+ | <ul><li>Item 3a</li> | ||
+ | <li>Item 3b</li> | ||
+ | </ul></li> | ||
+ | </ol></samp> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <nowiki>[WHMCS Marketplace](http://marketplace.whmcs.com)</nowiki> | ||
+ | </td> | ||
+ | <td> | ||
+ | <samp>[http://marketplace.whmcs.com WHMCS Marketplace] | ||
+ | </samp> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <nowiki>As Kanye West said:</nowiki> | ||
+ | |||
+ | <nowiki>> We're living the future so.</nowiki><br/> | ||
+ | <nowiki>>.</nowiki><br/> | ||
+ | <nowiki>> the present is our past.</nowiki> | ||
+ | </td> | ||
+ | <td> | ||
+ | <samp><p>As Kanye West said:</p> | ||
+ | <blockquote> | ||
+ | <p>We're living the future so</p> | ||
+ | <p>the present is our past.</p> | ||
+ | </blockquote> | ||
+ | </samp> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <nowiki>I think you should add padding around the `$string` output.</nowiki> | ||
+ | </td> | ||
+ | <td> | ||
+ | <samp><p>I think you should add padding around the <code>$string</code> output.</p> | ||
+ | </samp> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> |
Revision as of 08:41, 30 June 2016
WHMCS supports Markdown for formatting of ticket messages, notes, client notes and more.
Supported formatting includes:
- Bold
- Italics
- Headings
- Bulleted Lists
- Numbered Lists
- Code Blocks
- Quotes
Contents
Editor
An editor is provided that makes it easy to apply common formatting.
The following screenshot provides an example of the editor in Preview Mode for a support ticket reply.
Markdown Guide
A convenient and easily accessible Markdown Guide is provided within the product accessible via the Help icon within the editor toolbar at any time.
Markdown | Output |
# This is an <h1> tag ## This is an <h2> tag ###### This is an <h6> tag |
This is an <h1> tagThis is an <h2> tagThis is an <h6> tag |
*This text will be italic*
_This will also be italic_ **This text will be bold** __This will also be bold__ _You **can** combine them_ |
This text will be italic This will also be italic This text will be bold This will also be bold You can combine them |
* Item 1 * Item 2 * Item 2a * Item 2b |
|
1. Item 1 2. Item 2 3. Item 3 * Item 3a * Item 3b |
|
[WHMCS Marketplace](http://marketplace.whmcs.com) |
|
As Kanye West said: > We're living the future so. |
As Kanye West said:
|
I think you should add padding around the `$string` output. |
I think you should add padding around the |