Skip to content

Instantly share code, notes, and snippets.

@ts123
Created March 7, 2012 03:32
Show Gist options
  • Save ts123/1990731 to your computer and use it in GitHub Desktop.
Save ts123/1990731 to your computer and use it in GitHub Desktop.
Markdown練習

練習サイト
http://github.github.com/github-flavored-markdown/preview.html

タイトル

Title

Title

Title

Title

  • 箇条書き1

    • 11
      • 111
        • 1111
          • 11111
    • 12
      • 121
  • 箇条書き2

    • 21
  • 箇条書き3

    % command1 arg コマンド1

仕切り

% command2 arg

コマンド2

% command3 arg

コマンド3

% command1.5 arg
from sys import stdout
if __name__ == '__main__':
  stdout.write(sum(x for x in range(10))) # 45
#include <stdio.h>
int main(int argc, char const* argv[]) {
  if (1 < argc) { printf("%d", argc); }
  return 0; /* comment */
}
PIDFILE=server.pid
start:
    ./server & echo $$! > ${PIDFILE}

http://hoge.com/path

!(image)[https://a248.e.akamai.net/assets.github.com/images/modules/header/logo_gist.png] !(image)[https://github.com/favicon.ico]

練習サイト
http://github.github.com/github-flavored-markdown/preview.html
タイトル
==============
# Title
## Title
### Title
#### Title
* 箇条書き1
* 11
* 111
* 1111
* 11111
* 12
* 121
* 箇条書き2
* 21
* 箇条書き3
% command1 arg
コマンド1
### 仕切り
% command2 arg
コマンド2
% command3 arg
コマンド3
```
% command1.5 arg
```
```python
from sys import stdout
if __name__ == '__main__':
stdout.write(sum(x for x in range(10))) # 45
```
```c
#include <stdio.h>
int main(int argc, char const* argv[]) {
if (1 < argc) { printf("%d", argc); }
return 0; /* comment */
}
```
```makefile
PIDFILE=server.pid
start:
./server & echo $$! > ${PIDFILE}
```
http://hoge.com/path
* [Google.jp] (http://www.google.co.jp)
!(image)[https://a248.e.akamai.net/assets.github.com/images/modules/header/logo_gist.png]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment