Markdown is a text-formatting syntax that converts plain text and punctuation into formatted text with simple tags...
Markdown is a new text-formatting syntax that converts plain text and punctuation into formatted text.
Paragraphs and line breaks
Paragraphs should be unindented and separated with a blank line:
This is a paragraph.
This is another paragraph.
Any time that you want a line break within a paragraph, you must end the line with two or more spaces and type return. (If you omit the extra spaces, no line break will be inserted and the text will be treated as a single unbroken paragraph).
Text formatting
Use underscores and asterisks to _italicize_ and **boldface** words.
Lists
Create lists by using asterisks, pluses or hyphens as list markers:
* This is the first item in a bullet list.
* Second item.
* Third item.
+ This is also a bullet list.
+ Second item.
+ Third item
- And so is this.
- Second item.
- Third item.
Create numbered lists with numbers followed by periods:
1. First item
2. Second item
3. Third item
Links
Put link text in brackets followed by the address in parentheses:
This is an [example link](http://example.com/).
To make a URL turn into a link, surround it with angle brackets like so:
<http://www.example.com>
...and the same for e-mail addresses:
<info@example.com>
Text headings
### This creates a text heading
Indentation and blockquotes
> This is indented (blockquote) text.
>
> This is a second paragraph of blockquote text.
>
> This is a third paragraph.
You can create indentation within a block quote by "nesting" the > angle bracket:
> This is the first level of quoting.
>
> > This is an additional level of quoting.
>
> Back to the first level.
Horizontal rules
You can produce a horizontal line into your text by placing three or more hyphens on a line by themselves:
This text appears above the horizontal rule.
---
This text appears below.
Include your own HTML
If you know your way around HTML and want to do more formatting than Markdown's syntax provides, you can include your own HTML inside Markdown text. If you want, you can even use HTML tags instead of Markdown formatting; e.g. if you’d prefer to use HTML <a> or <img> tags instead of Markdown’s link or image syntax, go right ahead. No need to do anything special, just add the markup:
I wish that all links to Hometowntimes <a
href="http://www.hometowntimes.com/" target="_blank">opened
in a new window</a>.
Block-level HTML elements like <div>, <table>, <pre>, <p>, etc. must be separated from surrounding content by blank lines. For example, to add a table:
This is a regular paragraph.
<table>
<tr>
<td>Table text</td>
</tr>
</table>
This is another regular paragraph.
Note that Markdown formatting syntax is not processed within block-level HTML tags. E.g., you can’t use Markdown-style _emphasis_ inside an HTML block.
Code and HTML
If you're writing about code or HTML and want the tags to appear as text instead of as the actual HTML tags, you can protect that text by wrapping it in `backtick` quotes:
I strongly recommend against using any `<blink>` tags.
To specify an entire block of pre-formatted code, indent every line of the block by 4 spaces or 1 tab.
More Information
Markdown was created by a very bright guy named John Gruber. His site offers comprehensive details on getting the most out of Markdown. Click HERE to visit his site