Difference between revisions of "Markdown Editor"

From WHMCS Documentation

 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
WHMCS supports Markdown for formatting of ticket messages, notes, client notes and more.
 
WHMCS supports Markdown for formatting of ticket messages, notes, client notes and more.
 +
 +
You can access the markdown editor when you submit or reply to support tickets at '''Support > [[Support Tickets]]''' or create a predefined reply at '''Support > [[Predefined Replies]]'''.
  
 
Supported formatting includes:
 
Supported formatting includes:
Line 15: Line 17:
 
An editor is provided that makes it easy to apply common formatting.
 
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.
+
The following screenshot provides an example of the editor in ''Preview Mode'' for a [[Support Tickets|support ticket]] reply.
  
 
[[File:Markdown-editor.jpg]]
 
[[File:Markdown-editor.jpg]]
Line 115: Line 117:
 
<tr>
 
<tr>
 
<td>
 
<td>
<nowiki>As Kanye West said:</nowiki>
+
<nowiki>Header for quotes:</nowiki>
  
<nowiki>> We're living the future so.</nowiki><br/>
+
<nowiki>> This is the first line of the quote</nowiki><br/>
 
<nowiki>>.</nowiki><br/>
 
<nowiki>>.</nowiki><br/>
<nowiki>> the present is our past.</nowiki>
+
<nowiki>> followed by the second line.</nowiki>
 
</td>
 
</td>
 
<td>
 
<td>
<samp><p>As Kanye West said:</p>
+
<samp><p>Header for quotes:</p>
 
<blockquote>
 
<blockquote>
<p>We're living the future so</p>
+
<p>This is the first line of the quote</p>
<p>the present is our past.</p>
+
<p>followed by the second line.</p>
 
</blockquote>
 
</blockquote>
 
</samp>
 
</samp>

Latest revision as of 19:05, 14 April 2022

WHMCS supports Markdown for formatting of ticket messages, notes, client notes and more.

You can access the markdown editor when you submit or reply to support tickets at Support > Support Tickets or create a predefined reply at Support > Predefined Replies.

Supported formatting includes:

  • Bold
  • Italics
  • Headings
  • Bulleted Lists
  • Numbered Lists
  • Code Blocks
  • Quotes

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-editor.jpg

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> tag

This is an <h2> tag

This 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

  • Item 1
  • Item 2
    • Item 2a
    • Item 2b

1. Item 1

2. Item 2

3. Item 3

* Item 3a

* Item 3b

  1. Item 1
  2. Item 2
  3. Item 3
    • Item 3a
    • Item 3b

[WHMCS Marketplace](http://marketplace.whmcs.com)

WHMCS Marketplace

Header for quotes:

> This is the first line of the quote
>.
> followed by the second line.

Header for quotes:

This is the first line of the quote

followed by the second line.

I think you should add padding around the `$string` output.

I think you should add padding around the $string output.