The Perch Forum allows formatting of posts and replies with Markdown. The most useful options are listed below.
You can mark up code in-line using backticks (`code`), or add a code block by adding at least four spaces to the start of a line:
This is a code block
Code blocks can also be marked up by using the ~~~ characters:
~~~
perch_content_custom('Example', array(
'count' => 10,
'start' => 100,
));
~~~
You can also write your code in a Gist and paste the URL into your post or reply. This can be handy for larger chunks of code.
# Title = First level heading## Title = Second level heading### Title = Third level heading…up to six levels
*example* or _example_**example** or __example__ 1. then a space
1. Ordered list item
2. Ordered list item
3. Ordered list item
Any number (followed by a full stop and space) can be used.
*, - or
+ then a spaceCreate a bulleted list by using an asterisk (*), hyphen (-), or plus sign (+), followed by a space. For example:
* Bulleted list item
* Bulleted list item
* Bulleted list item
Type > plus a space (just like email):
> A quoted paragraph
>> A quoted paragraph inside a quotation
Create a link by surrounding the link text in square brackets, followed immediately by the URL in parentheses:
[text to link](http://example.com/)
You can add also images via the following syntax:
