シンタックス ハイライトと課題のマークアップについて
課題トラッカーでは、Bitbucket Cloud のコメントと同じようにシンタックス ハイライトおよびマークダウン構文を利用できます。
マークダウンのチート シート
The tables below contain examples of the most common Markdown syntax. You can use the format bar in a comment to format text or you can type Markdown directly.To play with the syntax, go ahead and copy one of the examples below and paste it into a Bitbucket comment or issue. For a full list of all the Markdown syntax, go to John Gruber's Daring Fireball site get a complete list of Markdown syntax.
見出し | 段落 |
|---|---|
# Heading 1
## Heading 2
### Heading 3
### Heading 4
#### Heading 5
#### Heading 6 | Each sentence is on its own line the press return for a newline line.
To break a line, type two spaces after the line ends and then press the new line.
For example,
this is one |
文字スタイル | 番号なしリスト | 番号付きリスト | リスト内リスト | 引用 |
|---|---|---|---|---|
*Italic characters*
_Italic characters_
**bold characters**
__bold characters__ | * Item 1
* Item 2
* Item 3
* Item 2a
* Item 2b
* Item 3c | 1. Step 1
2. Step 2
3. Step 3
a. Step 2a
b. Step 2b
c. Step 2c | 1. Step 1
2. Step 2
3. Step 3
* Item 2a
* Item 2b
* Item 3c
| Introducing my quote:
> Neque porro quisquam est qui
> dolorem ipsum quia dolor sit amet,
> consectetur, adipisci velit...
|
| サブリストは 4 スペース分インデントする必要があります。 |
| ||
コード文字 | 外部 Web サイトへのリンク | Wiki ページへのリンク |
|---|---|---|
Use the backtick to refer to a `function()`.
There is a literal ``backtick (`)`` here.
```
Use three backticks (or indent four spaces) to invoke a code block | This is [an example](http://www.slate.com/ "Title") inline link.
[This link](http://example.net/) has no title attribute. | [Home](Home) |
課題で Bitbucket Cloud オブジェクトを参照する
コメント、課題、コミット メッセージから直接、Bitbucket 課題、リクエスト、およびユーザーを参照することもできます。参照を作成する際、コメント (または課題) を保存すると、Bitbucket は自動的にそのオブジェクトへのリンクを作成します。課題、プル リクエスト、コミットなどのリポジトリに関する項目の場合、Bitbucket オブジェクトへのマークダウン参照は常に現在のリポジトリを参照します。また、個別アカウントやチーム アカウントをメンションしたり、絵文字を挿入することもできます。
リポジトリ内でコメントや課題のオブジェクトにリンクする
オブジェクト | 構文 | 例 |
|---|---|---|
プルリクエスト | pull request #PR_NUMBER |
|
issues | issue #ISSUE_NUMBER | issue #3 |
commit 7 ~ 40 文字
| HEX_CHARS | bb21047 |
リポジトリ以外のオブジェクトにリンクする
オブジェクト | 構文 | 例 |
|---|---|---|
ユーザー (アカウント) | @USERNAME | @tutorials |
絵文字 David Coffey created a list of available emoji. | :EMOJI: | :mask: |
Finally, if you have created a link to Jira or another service such as Jenkins, you can enter references for those "linkers" too. For information on creating and using linkers, see Link to a web service.
この内容はお役に立ちましたか?