部落格開張Markdown Demo

  • Sharing Code Snippets
  • Quote
  • List
  • Email
  • Atx Format Header
  • Setext Format Header
  • Break Line
  • Link

Markdown Syntax
Markdown Syntax 2

Sharing Code Snippets

Example 1

PHP echo-hello.phplink
1
echo '部落格開張';

Example 2###

Octopress: Sharing Code Snippets

1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>
</html>

Example 3

Octopress: Sharing Code Snippets

``` [language] [title] [url] [link text]
code snippet
```

Discover if a number is primeSource Article
1
2
3
4
5
class Fixnum
def prime?
('1' * self) !~ /^1?$|^(11+?)\1+$/
end
end

Quote

Example 1

Octopress: Blockquote

Stay hungry, Stay foolish. -Steve Jobs

A apple a day, keep the doctor away

May I help U?

  1. First
    Line
  2. Two
    Line

Example 2

Flying is learning how to throw yourself at the ground and miss.

Douglas AdamsThe Hichhikers Guide to the Galaxy

List

Example

TODO List

  • open
  • hadle em
  • *strong*
    1. s1
    2. s2
    3. s3

Email

Example

address@example.com

Atx format Header L1#

Example

Header L2

Header L3

Header L4

Header L5
Header L6

This is an Setext Format H1

Example

This is an Setext Format H2

Break Line

Example

BreakLine




Link

Example 1: Inline

This is an example inline link.

Example 2: Ref

This is [an example] id reference-style link.