LoginSignup
9
5

More than 5 years have passed since last update.

bitBucketのREADMEをMarkDownで書く

Posted at

gitBucketからbitBucketに載せ替えたときにせっかく書いたREADMEが崩れてしまった。。オゥ
若干(ホントに若干)書き方が違うらしいので、纏めました!

見出し

#で書く
# This is an H1
## This is an H2
###### This is an H6

こんな感じで表示される
2019-01-11_140904.png
★そのまま使えそう

ラインで書く
This is also an H1
==================

This is also an H2
------------------

2019-01-11_141326.png

装飾

強調

イタリック体
*Italic characters*  
_Italic characters_  

2019-01-11_142010.png
★2種類あるみたいですね

太字
**bold characters**  
__bold characters__   

2019-01-11_142117.png
★これも2種類あるみたいですね

取り消し線
~~strikethrough text~~  

2019-01-11_142246.png

リスト

*  Item 1
*  Item 2
*  Item 3
    *  Item 3a
    *  Item 3b
    *  Item 3c

1.  Step 1
2.  Step 2
3.  Step 3
    1.  Step 3.1
    2.  Step 3.2
    3.  Step 3.3

1.  Step 1
2.  Step 2
3.  Step 3
    *  Item 3a
    *  Item 3b
    *  Item 3c

2019-01-11_142611.png

★数字はインクリメントされないみたい

コード

左に縦線が出る
> Neque porro quisquam est qui  
> dolorem ipsum quia dolor sit amet,  
> consectetur, adipisci velit...

2019-01-11_143007.png

文章中
Use the backtick to refer to a `function()`.

There is a literal ``backtick()`` here.

2019-01-11_143117.png

頭に4スペース
    This is a code block.
    With multiple lines.

image.png

バッククォート3つ
    ```
    This is a code block
    ```

2019-01-11_143456.png

言語を指定
    ```javascript
    var oldUnload = window.onbeforeunload;
    window.onbeforeunload = function() {
        saveCoverage();
        if (oldUnload) {
            return oldUnload.apply(this, arguments);
        }
    };
    ```

2019-01-11_143625.png

リンク

    This is [an example](http://www.example.com/) inline link.

    [This link](http://example.com/ "Title") has a title attribute.

    Links are also auto-detected in text: http://example.com/

2019-01-11_144926.png

テーブル

| Day     | Meal    | Price |
| --------|---------|-------|
| Monday  | pasta   | $6    |
| Tuesday | chicken | $8    |

2019-01-11_145219.png

一先ず主要なものを纏めましたが、
時間があれば追記していきます!

9
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
5