Markdown is a simple, expressive text structure used to write formatted output. It is readable and easy to write, and can be converted to html so that it gets formatted correctly on web sites. If there isn't a markdown feature that does something you want, you can include html code directly. Many sites now use it, with their own distinct flavors. This has information for:
- GitHub
- FluxBB (Used in Laravel forum)
- General Markdown
Code is indented 4 spaces
This does syntax highlighting for php (no indentation needed for code):
``` php
<php code goes here>
```
http://forums.laravel.io/help.php#bbcode
This is regular text and this is emphasized and this is strong and @this is inline code@. And you can do super^script^ and you can do subscript as well as -deleting/strikethrough- text and +inserting/underlining+ text.
Bulleted and numbered lists:
- Item one.
- Item two.
You can write a simple CODE tag with no attribute which looks like so: [code]This is some simple code[/code]
You can add a title message to the code block by adding an attribute to the CODE tag like so:
Code: "This is a code block title." [code=This is a code block title.]This is some code with a message attribute.[/code]
You can specify a computer language as the first word of the attribute (such as "php"), and the message will have color syntax highlighting applied like so: Code: PHP - "New FluxBB parser.php Rev:20110122_1800"
The following tags change the appearance of text:
- [b]Bold text[/b] produces Bold text
- [u]Underlined text[/u] produces Underlined text
- [i]Italic text[/i] produces Italic text
- [s]Strike-through text[/s] produces Strike-through text
- [del]Deleted text[/del] produces Deleted text
- [ins]Inserted text[/ins] produces Inserted text
- [em]Emphasised text[/em] produces Emphasised text
- [color=#FF0000]Red text[/color] produces Red text
- [color=blue]Blue text[/color] produces Blue text
- [h]Heading text[/h] produces Heading text