Skip to main content

GitHub Docs์—์„œ Markdown ๋ฐ Liquid ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•

Markdown ๋ฐ Liquid๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ฝ˜ํ…์ธ  ์„œ์‹์„ ์ง€์ •ํ•˜๊ณ , ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ฝ˜ํ…์ธ ๋ฅผ ๋งŒ๋“ค๊ณ , GitHub Docs์— ๋‹ค๋ฅธ ๋ฒ„์ „์— ๋Œ€ํ•œ ์ฝ˜ํ…์ธ ๋ฅผ ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

GitHub Docs์—์„œ Markdown ๋ฐ Liquid ์‚ฌ์šฉ ์ •๋ณด

GitHub Docs๋Š” ์ผ๋ฐ˜ ํ…์ŠคํŠธ ์„œ์‹์„ ์ง€์ •ํ•˜๋Š” ์ธ๊ฐ„ ์นœํ™”์ ์ธ ๊ตฌ๋ฌธ์ธ Markdown์„ ์‚ฌ์šฉํ•˜์—ฌ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์šฐ๋ฆฌ๋Š” GitHub์ด๋ผ๋Š” ๋งˆํฌ๋‹ค์šด์˜ ๋ณ€ํ˜•์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. Flavored Markdown์ด๋ผ๋Š” ๋ณ€ํ˜•์„ ์‚ฌ์šฉํ•˜๋ฉฐ CommonMark๋ฅผ ์ค€์ˆ˜ํ•˜๋Š”์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ GitHub์—์„œ์˜ ์“ฐ๊ธฐ ๋ฐ ์„œ์‹ ์ง€์ • ์ •๋ณด์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

Liquid ๊ตฌ๋ฌธ์„ ์‚ฌ์šฉํ•˜์—ฌ ์ ‘๊ทผ ๊ฐ€๋Šฅํ•œ ํ…Œ์ด๋ธ”, ์œ ์ง€ ๊ด€๋ฆฌ ๊ฐ€๋Šฅํ•œ ๋งํฌ, ๋ฒ„์ „ ๊ด€๋ฆฌ, ๋ณ€์ˆ˜ ๋ฐ ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ฝ˜ํ…์ธ  ์ฒญํฌ๋ฅผ ์ œ๊ณตํ•˜๊ธฐ ์œ„ํ•ด ๊ธฐ๋Šฅ์„ ํ™•์žฅํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ Liquid ์„ค๋ช…์„œ์˜ "Liquid ํƒœ๊ทธ"๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

์ด ์‚ฌ์ดํŠธ์˜ ์ฝ˜ํ…์ธ ๋Š” /src/content-render๋กœ ๊ตฌ๋™๋˜๋Š” Markdown ๋ Œ๋”๋ง์„ ์‚ฌ์šฉํ•˜๋ฉฐ, ์ด๋Š” ๋‹ค์‹œ remark Markdown ํ”„๋กœ์„ธ์„œ ์œ„์— ๊ตฌ์ถ•๋ฉ๋‹ˆ๋‹ค.

๋ชฉ๋ก

๋ชฉ๋ก ํ•ญ๋ชฉ์—์„œ ์ฒซ ๋‹จ๋ฝ ์ดํ›„์˜ ์ถ”๊ฐ€ ์ฝ˜ํ…์ธ ์— ๋Œ€ํ•œ ์ผ๋ฐ˜์ ์ธ ๊ทœ์น™์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค:

  • ์ด๋ฏธ์ง€์™€ ํ›„์† ๋‹จ๋ฝ์€ ๊ฐ๊ฐ ๋…๋ฆฝ๋œ ์ค„์— ์žˆ์–ด์•ผ ํ•˜๋ฉฐ ๋นˆ ์ค„๋กœ ๊ตฌ๋ถ„ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
  • ๋ชฉ๋ก ํ•ญ๋ชฉ์˜ ๋ชจ๋“  ํ›„์† ์ค„์€ ๋ชฉ๋ก ๋งˆ์ปค ๋’ค์˜ ์ฒซ ๋ฒˆ์งธ ํ…์ŠคํŠธ์™€ ์ผ์น˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๋ชฉ๋ก ์‚ฌ์šฉ ์˜ˆ

์ด ์˜ˆ๋Š” ๋ชฉ๋ก ํ•ญ๋ชฉ์„ ์—ฌ๋Ÿฌ ๋‹จ๋ฝ ๋˜๋Š” ๊ฐ์ฒด์™€ ์ •๋ ฌํ•˜๋Š” ์˜ฌ๋ฐ”๋ฅธ ๋ฐฉ๋ฒ•์„ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค.

1. Under your repository name, click **Actions**.

   ![Screenshot of the tabs for the "github/docs" repository. The "Actions" tab is highlighted with an orange outline.](/assets/images/help/repository/actions-tab-global-nav-update.png)

   This is another paragraph in the list.

1. This is the next item.

์ด ์ฝ˜ํ…์ธ ๋Š” ์ฒซ ๋ฒˆ์งธ ๋ชฉ๋ก ํ•ญ๋ชฉ ์•„๋ž˜์˜ ์ฝ˜ํ…์ธ ๊ฐ€ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์ •๋ ฌ๋œ ์ƒํƒœ๋กœ GitHub Docs ์‚ฌ์ดํŠธ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ ๋ณ€์ˆ˜์— ๋ Œ๋”๋ง๋œ ๋ชฉ๋ก ์˜ˆ์‹œ GitHub Docs

  1. ๋ฆฌํฌ์ง€ํ† ๋ฆฌ ์ด๋ฆ„ ์•„๋ž˜์— ์žˆ๋Š” ๋™์ž‘์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

    "github/docs" ๋ฆฌํฌ์ง€ํ† ๋ฆฌ์— ๋Œ€ํ•œ ํƒญ ์Šคํฌ๋ฆฐ์ƒท. "์ž‘์—…" ํƒญ์€ ์ฃผํ™ฉ์ƒ‰ ์œค๊ณฝ์„ ์œผ๋กœ ๊ฐ•์กฐ ํ‘œ์‹œ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.

    ์ด๊ฒƒ์€ ๋ชฉ๋ก์˜ ๋˜ ๋‹ค๋ฅธ ๋‹จ๋ฝ์ž…๋‹ˆ๋‹ค.

  2. ๋‹ค์Œ ํ•ญ๋ชฉ์ž…๋‹ˆ๋‹ค.

๊ฒฝ๊ณ 

๊ฒฝ๊ณ ๋Š” ์‚ฌ์šฉ์ž๊ฐ€ ์•Œ์•„์•ผ ํ•˜๋Š” ์ค‘์š”ํ•œ ์ •๋ณด๋ฅผ ๊ฐ•์กฐ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค. ์ง€์›๋˜๋Š” ๊ฒฝ๊ณ  ์œ ํ˜•, Markdown์—์„œ ํ˜•์‹์„ ์ง€์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•, ๊ฒฝ๊ณ  ์‚ฌ์šฉ ์‹œ๊ธฐ์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์Šคํƒ€์ผ ๊ฐ€์ด๋“œ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

๊ฒฝ๊ณ ์˜ ์˜ˆ

> [!TIP]
> Try this out!
> [!NOTE]
> Generally alerts should be short.
>
> But occasionally may require more than one paragraph

GitHub Docs์— ๋ Œ๋”๋ง๋œ ๊ฒฝ๊ณ  ์˜ˆ์‹œ

ํŒ

์ง์ ‘ ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

์ฐธ๊ณ  ํ•ญ๋ชฉ

์ผ๋ฐ˜์ ์œผ๋กœ ๊ฒฝ๊ณ ๋Š” ์งง์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๊ฒฝ์šฐ์— ๋”ฐ๋ผ ํ•˜๋‚˜ ์ด์ƒ์˜ ๋‹จ๋ฝ์ผ ์ˆ˜ ์žˆ์Œ

์ฝ”๋“œ ์ƒ˜ํ”Œ ๊ตฌ๋ฌธ ๊ฐ•์กฐ ํ‘œ์‹œ

๋ช…๋ น์ค„ ๋ช…๋ น ๋ฐ ์ฝ”๋“œ ์ƒ˜ํ”Œ์—์„œ ๊ตฌ๋ฌธ ๊ฐ•์กฐ๋ฅผ ๋ Œ๋”๋งํ•˜๋ ค๋ฉด ๋ฐฑํ‹ฑ ์„ธ ๋ฒˆ ๋’ค์— ์ƒ˜ํ”Œ ์–ธ์–ด๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ง€์›๋˜๋Š” ์–ธ์–ด ๋ชฉ๋ก์„ ๋ณด๋ ค๋ฉด code-languages.yml์„ ์ฐธ๊ณ ํ•˜์„ธ์š”.

์ฝ”๋“œ ๊ตฌ๋ฌธ ๊ฐ•์กฐ ํ‘œ์‹œ์˜ ์‚ฌ์šฉ ์˜ˆ

```bash
git init YOUR-REPOSITORY
```

์ฝ”๋“œ ์ƒ˜ํ”Œ ๊ตฌ๋ฌธ ๋‚ด์—์„œ ์‚ฌ์šฉ์ž ๋˜๋Š” ๋ฆฌํฌ์ง€ํ† ๋ฆฌ ์ด๋ฆ„๊ณผ ๊ฐ™์ด ์‚ฌ์šฉ์ž๋งˆ๋‹ค ๋‹ฌ๋ผ์ง€๋Š” ํ”Œ๋ ˆ์ด์Šคํ™€๋” ํ…์ŠคํŠธ ๋˜๋Š” ์ฝ˜ํ…์ธ ๋ฅผ ํ‘œ์‹œํ•˜๋ ค๋ฉด ๋ชจ๋‘ ๋Œ€๋ฌธ์ž๋กœ ํ‘œ์‹œํ•˜์„ธ์š”. ๊ธฐ๋ณธ์ ์œผ๋กœ ์ฝ”๋“œ ๋ธ”๋ก์€ ์„ธ ๊ฐœ์˜ ๋ฐฑํ‹ฑ ์•ˆ์— ์žˆ๋Š” ์ฝ˜ํ…์ธ ๋ฅผ ์ด์Šค์ผ€์ดํ”„ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ๋‚ด์šฉ์„ ๊ตฌ๋ฌธ ๋ถ„์„ํ•˜๋Š” ์ƒ˜ํ”Œ ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ(์˜ˆ: ํƒœ๊ทธ๋ฅผ ๋ฌธ์ž ๊ทธ๋Œ€๋กœ ์ „๋‹ฌํ•˜๋Š” ๋Œ€์‹  <em> ํƒœ๊ทธ ๋‚ด์˜ ํ…์ŠคํŠธ๋ฅผ ์ดํƒค๋ฆญ์ฒด๋กœ ํ‘œ์‹œํ•˜๊ธฐ) <pre> ํƒœ๊ทธ๋กœ ์ฝ”๋“œ ๋ธ”๋ก์„ ๊ฐ์‹ธ์„ธ์š”.

๋ณต์‚ฌ ๋ฒ„ํŠผ์ด ์žˆ๋Š” ์ฝ”๋“œ ๋ธ”๋ก

์–ธ์–ด์˜ ์ด๋ฆ„์„ ํฌํ•จํ•˜๋Š” ํ—ค๋”์™€ ์ฝ”๋“œ ๋ธ”๋ก์˜ ๋‚ด์šฉ์„ ๋ณต์‚ฌํ•˜๋Š” ๋‹จ์ถ”๋ฅผ ์ถ”๊ฐ€ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.

์˜ˆ๋ฅผ ๋“ค์–ด ๋‹ค์Œ ์ฝ”๋“œ๋Š” JavaScript์— ๋Œ€ํ•œ ๊ตฌ๋ฌธ ๊ฐ•์กฐ ํ‘œ์‹œ์™€ ์ฝ”๋“œ ์ƒ˜ํ”Œ์˜ ๋ณต์‚ฌ ๋‹จ์ถ”๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

๋ณต์‚ฌ ๋‹จ์ถ” ์‚ฌ์šฉ ์˜ˆ์‹œ

```javascript copy
const copyMe = true
```

GitHub Docs์— ๋ Œ๋”๋ง๋œ ์˜ˆ์‹œ ์ฝ”๋“œ

JavaScript
const copyMe = true

์ฝ”๋“œ ์ƒ˜ํ”Œ ์ฃผ์„

์ฝ”๋“œ ์ƒ˜ํ”Œ ์ฃผ์„์€ ์ฃผ์„์„ ์ƒ˜ํ”Œ ์ฝ”๋“œ ์˜†์— ์ฃผ์„์œผ๋กœ ๋ Œ๋”๋งํ•˜์—ฌ ๋” ๊ธด ์ฝ”๋“œ ์˜ˆ์‹œ๋ฅผ ์„ค๋ช…ํ•˜๋Š” ๋ฐ ๋„์›€์ด ๋ฉ๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด ์ฝ”๋“œ ์ž์ฒด๋ฅผ ๋ณต์žกํ•˜๊ฒŒ ๋งŒ๋“ค์ง€ ์•Š๊ณ  ์ฝ”๋“œ์— ๋Œ€ํ•œ ๋” ๊ธด ์„ค๋ช…์„ ์ž‘์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ฃผ์„์ด ์žˆ๋Š” ์ฝ”๋“œ ์ƒ˜ํ”Œ์€ ์™ผ์ชฝ์— ์ฝ”๋“œ ์ƒ˜ํ”Œ์ด ์žˆ๊ณ  ์˜ค๋ฅธ์ชฝ์— ์ฃผ์„์ด ์žˆ๋Š” ๋‘ ๊ฐœ์˜ ์ฐฝ ๋ ˆ์ด์•„์›ƒ์œผ๋กœ ๋ Œ๋”๋ง๋ฉ๋‹ˆ๋‹ค. ์ฝ”๋“œ ์˜ˆ์‹œ ์œ„์— ์ปค์„œ๋ฅผ ๊ฐ€์ ธ๊ฐ€๋ฉด ์ฃผ์„์ด ์‹œ๊ฐ์ ์œผ๋กœ ๊ฐ•์กฐ๋ฉ๋‹ˆ๋‹ค.

์ฝ”๋“œ ์ฃผ์„์€ frontmatter ์†์„ฑ์ด layout: inline ์žˆ๋Š” ์•„ํ‹ฐํด์—์„œ๋งŒ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค. ์ฝ”๋“œ ์ฃผ์„์„ ์ž‘์„ฑํ•˜๊ณ  ์Šคํƒ€์ผ ์ง€์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์ฝ”๋“œ ์˜ˆ์ œ์— ์ฃผ์„ ์ถ”๊ฐ€ํ•˜๊ธฐ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

์ฃผ์„์ด ์ถ”๊ฐ€๋œ ์ฝ”๋“œ ์ƒ˜ํ”Œ์˜ ์˜ˆ

```yaml annotate
# The name of the workflow as it will appear in the "Actions" tab of the GitHub repository.
name: Post welcome comment
# The `on` keyword lets you define the events that trigger when the workflow is run.
on:
  # Add the `pull_request` event, so that the workflow runs automatically
  # every time a pull request is created.
  pull_request:
    types: [opened]
# Modifies the default permissions granted to `GITHUB_TOKEN`.
permissions:
  pull-requests: write
# Defines a job with the ID `build` that is stored within the `jobs` key.
jobs:
  build:
    name: Post welcome comment
    # Configures the operating system the job runs on.
    runs-on: ubuntu-latest
    # The `run` keyword tells the job to execute the [`gh pr comment`](https://cli.github.com/manual/gh_pr_comment) command on the runner.
    steps:
      - run: gh pr comment $PR_URL --body "Welcome to the repository!"
        env:
          GH_TOKEN: $
          PR_URL: $
```

GitHub Docs์—์„œ ์ฝ”๋“œ ์ฃผ์„์„ ์‚ฌ์šฉํ•˜๋Š” ๋ฌธ์„œ์˜ ์˜ˆ๋Š” GitHub Actions๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํŒจํ‚ค์ง€ ๊ฒŒ์‹œ ๋ฐ ์„ค์น˜์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

Copilot ํ”„๋กฌํ”„ํŠธ

Copilot์˜ ํ”„๋กฌํ”„ํŠธ๋Š” ๋ธ”๋ก ํ˜•ํƒœ๋กœ ํ‘œ์‹œํ•˜๊ฑฐ๋‚˜ ํ…์ŠคํŠธ ๋‚ด์— ์ธ๋ผ์ธ์œผ๋กœ ํฌํ•จํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ”„๋กฌํ”„ํŠธ ๋ธ”๋ก

์ฝ”๋“œ ๋ธ”๋ก๊ณผ ๋งค์šฐ ์œ ์‚ฌํ•˜์ง€๋งŒ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ์–ธ์–ด ์ด๋ฆ„ ๋Œ€์‹  copilot ํ‚ค์›Œ๋“œ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

ํ”„๋กฌํ”„ํŠธ ๋ธ”๋ก์—๋Š” ํ•ญ์ƒ copy ์˜ต์…˜์„ ์‚ฌ์šฉํ•˜์—ฌ ์ถ”๊ฐ€๋˜๋Š” ๋ณต์‚ฌ ๋‹จ์ถ”๊ฐ€ ์žˆ์–ด์•ผ ํ•˜๋ฉฐ, prompt ์˜ต์…˜์„ ์‚ฌ์šฉํ•˜์—ฌ ์ถ”๊ฐ€๋˜๋Š” Copilot ๋‹จ์ถ”๋„ ์žˆ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Copilot ๋‹จ์ถ”๋Š” ๋…์ž๊ฐ€ GitHub.com์˜ Copilot Chat์—์„œ ํ”„๋กฌํ”„ํŠธ๋ฅผ ๋น ๋ฅด๊ฒŒ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ๋ฐฉ๋ฒ•์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. copy ๋ฐ prompt ์˜ต์…˜์€ ์ˆœ์„œ์™€ ์ƒ๊ด€์—†์ด ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Copilot ๋ฐ ๋ณต์‚ฌ ๋‹จ์ถ”๊ฐ€ ์žˆ๋Š” ํ”„๋กฌํ”„ํŠธ ๋ธ”๋ก ์˜ˆ์‹œ

```copilot prompt copy
What is git?
```

๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ Œ๋”๋ง๋ฉ๋‹ˆ๋‹ค.

Copilot Chat prompt
What is git?

ํ”„๋กฌํ”„ํŠธ ๋ธ”๋ก์— Copilot ๋‹จ์ถ”๋ฅผ ์ถ”๊ฐ€ํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

  • ํ”„๋กฌํ”„ํŠธ๋Š” ์ถ”๊ฐ€์ ์ธ ์ปจํ…์ŠคํŠธ ์—†์ด๋„ ์‹คํ–‰๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค(์œ„์˜ ์˜ˆ์‹œ์™€ ๊ฐ™์ด).
  • ๋™์ผํ•œ ๋ฌธ์„œ์—๋Š” ํ”„๋กฌํ”„ํŠธ์— ํ•„์š”ํ•œ ์ปจํ…์ŠคํŠธ๋ฅผ ์ œ๊ณตํ•˜๋Š” ์ฝ”๋“œ ๋ธ”๋ก์ด ์žˆ์Šต๋‹ˆ๋‹ค.

ํ”„๋กฌํ”„ํŠธ๊ฐ€ ์žˆ๋Š” ์ปจํ…์ŠคํŠธ ํฌํ•จ

Copilot ๋‹จ์ถ”๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ, ๊ฐ™์€ ๋ฌธ์„œ ๋‚ด์˜ ์ฝ”๋“œ ๋ธ”๋ก์„ ์ฐธ์กฐํ•˜์—ฌ Copilot Chat์œผ๋กœ ์ „์†ก๋˜๋Š” ํ”„๋กฌํ”„ํŠธ์— ์ปจํ…์ŠคํŠธ๋ฅผ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ฝ”๋“œ ๋ธ”๋ก์— id=STRING-OF-YOUR-CHOICE๋ฅผ ์ถ”๊ฐ€ํ•˜๊ณ , ํ”„๋กฌํ”„ํŠธ ๋ธ”๋ก์— ref=STRING-OF-YOUR-CHOICE๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ์ด ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

ํ”„๋กฌํ”„ํŠธ ๋ธ”๋ก ๋‚ด์—์„œ ์ปจํ…์ŠคํŠธ๋กœ ์‚ฌ์šฉ๋˜๋Š” ์ฝ”๋“œ ๋ธ”๋ก ์˜ˆ์‹œ

Add an id to the code block whose code you want to add to the prompt as context:

```javascript id=js-age
function logPersonsAge(a, b, c) {
  if (c) {
    console.log(a + " is " + b + " years old.");
  } else {
    console.log(a + " does not want to reveal their age.");
  }
}
```

Then, elsewhere in the same article, reference the id in the prompt block:

```copilot copy prompt ref=js-age
Improve the variable names in this function
```

Copilot ์ฟก๋ถ์—๋Š” ์ปจํ…์ŠคํŠธ๊ฐ€ ํฌํ•จ๋œ ํ”„๋กฌํ”„ํŠธ ๋ธ”๋ก์˜ ๋‹ค์–‘ํ•œ ์˜ˆ์‹œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ๋Š” ์ฝ”๋“œ ๊ฐ€๋…์„ฑ ๋ฐ ์œ ์ง€ ๊ด€๋ฆฌ ๊ธฐ๋Šฅ ํ–ฅ์ƒ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

์ธ๋ผ์ธ ํ”„๋กฌํ”„ํŠธ

๋Œ€๋ถ€๋ถ„์˜ ์ธ๋ผ์ธ ํ”„๋กฌํ”„ํŠธ๋Š” ์ธ๋ผ์ธ ์ฝ”๋“œ์™€ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ๋ฐฑํ‹ฑ์„ ์‚ฌ์šฉํ•˜์—ฌ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

ํ”„๋กฌํ”„ํŠธ์— ๋ณ„๋„์˜ ์ปจํ…์ŠคํŠธ๊ฐ€ ํ•„์š”ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ, ํ”„๋กฌํ”„ํŠธ ๋’ค์— ํด๋ฆญ ๊ฐ€๋Šฅํ•œ Copilot ์•„์ด์ฝ˜์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ๋…์ž๋Š” GitHub.com์˜ Copilot Chat์—์„œ ํ”„๋กฌํ”„ํŠธ๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํด๋ฆญ ๊ฐ€๋Šฅํ•œ ์•„์ด์ฝ˜์„ ์ถ”๊ฐ€ํ•˜๋ ค๋ฉด, ํ”„๋กฌํ”„ํŠธ๋ฅผ Liquid ๊ตฌ๋ฌธ ํƒœ๊ทธ๋กœ ๊ฐ์‹ธ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

... you can click {% prompt %}what is git{% endprompt %} to run this ...

๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ Œ๋”๋ง๋ฉ๋‹ˆ๋‹ค.

... you can click what is git to run this ...

์˜ฅ์‹œ์ฝ˜

์˜ฅํ‹ฐ์ฝ˜์€ GitHub์˜ ์ธํ„ฐํŽ˜์ด์Šค์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์•„์ด์ฝ˜์ž…๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๋ฌธ์„œํ™”ํ•  ๋•Œ Octicons๋ฅผ ์ฐธ์กฐํ•˜๊ณ  ํ…Œ์ด๋ธ”์—์„œ ์ด์ง„ ๊ฐ’์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. Octicon ์‚ฌ์ดํŠธ์—์„œ ํŠน์ • Octicon์˜ ์ด๋ฆ„์„ ์ฐพ์Šต๋‹ˆ๋‹ค.

UI์— ํ‘œ์‹œ๋˜๋Š” Octicon์„ ์ฐธ์กฐํ•˜๋Š” ๊ฒฝ์šฐ Octicon์ด UI ์š”์†Œ์˜ ์ „์ฒด ๋ ˆ์ด๋ธ”์ธ์ง€(์˜ˆ: "+"๋กœ๋งŒ ๋ ˆ์ด๋ธ”์ด ์ง€์ •๋œ ๋‹จ์ถ”) ๋˜๋Š” ๋‹ค๋ฅธ ๋ ˆ์ด๋ธ”(์˜ˆ: ๋‹จ์ถ”์— "+ ๋ฉ”์‹œ์ง€ ์ถ”๊ฐ€" ๋ ˆ์ด๋ธ” ์ง€์ •) ์™ธ์— ์žฅ์‹์šฉ์ธ์ง€ ์—ฌ๋ถ€๋ฅผ ์‹๋ณ„ํ•ฉ๋‹ˆ๋‹ค.

  • Octicon์ด ์ „์ฒด ๋ ˆ์ด๋ธ”์ธ ๊ฒฝ์šฐ ๋ธŒ๋ผ์šฐ์ €์˜ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Octicon์„ ๊ฒ€์‚ฌํ•˜๊ณ  ์‚ฌ์šฉ์ž๊ฐ€ ๋Œ€์‹  ๋“ค์„ ํ™”๋ฉด ์ฝ๊ธฐ ํ”„๋กœ๊ทธ๋žจ์„ ๊ฒฐ์ •ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿฐ ๋‹ค์Œ( ์˜ˆ{% octicon "plus" aria-label="Add file" %}: )์— aria-label ํ•ด๋‹น ํ…์ŠคํŠธ๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ๊ฒฝ์šฐ์— ๋”ฐ๋ผ UI์—์„œ Octicon ์ž์ฒด์—๋Š” aria-label๊ฐ€ ์—†์ง€๋งŒ <summary> ๋˜๋Š” <div> ํƒœ๊ทธ์™€ ๊ฐ™์€ ์ฃผ๋ณ€ ์š”์†Œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.
    • ๋ ˆ์ด๋ธ”๋กœ ์‚ฌ์šฉ๋˜๋Š” ์ผ๋ถ€ Octicon์—๋Š” UI ์š”์†Œ ๋˜๋Š” ์‚ฌ์šฉ์ž ์ž…๋ ฅ์˜ ์ƒํƒœ์— ๋”ฐ๋ผ ๋ณ€๊ฒฝ๋˜๋Š” ๋™์  aria-label ์š”์†Œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž์—๊ฒŒ ๋‘ ๊ฐœ์˜ ๋ณด์•ˆ ์ •์ฑ…์ดPolicy A ์žˆ๋Š” ๊ฒฝ์šฐ UI์— Policy B๋ ˆ์ด๋ธ”์ด ์ง€์ •๋œ {% octicon "trash" aria-label="Delete Policy A" %} ๋‘ ๊ฐœ์˜ ํœด์ง€ํ†ต ์˜ฅ์‹œ์ฝ˜์ด {% octicon "trash" aria-label="Delete Policy B" %}ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. ๋™์  aria-label ์š”์†Œ์˜ ๊ฒฝ์šฐ ์‚ฌ๋žŒ๋“ค์ด ์ •ํ™•ํžˆ ๋งˆ์ฃผ์น˜๋Š” ๊ฒƒ์„ ๋ฌธ์„œํ™” aria-label ํ•  ์ˆ˜ ์—†์œผ๋ฏ€๋กœ Octicon ๋ฐ ๋ ˆ์ด๋ธ”์˜ ์ž๋ฆฌ ํ‘œ์‹œ์ž ์˜ˆ์‹œ(์˜ˆ: "{% octicon "trash" aria-label="The trash icon, labelled 'Delete YOUR-POLICY-NAME'." %}")๋ฅผ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ ‡๊ฒŒ ํ•˜๋ฉด ์‚ฌ๋žŒ๋“ค์ด ์˜ฅ์‹œ์ฝ˜๊ณผ ์˜ฅ์‹œ์ฝ˜์˜ ๋ ˆ์ด๋ธ”์„ ๋ชจ๋‘ ์‹๋ณ„ํ•˜๊ณ  ์˜ฅ์‹œ์ฝ˜์„ ์‹œ๊ฐ์ ์œผ๋กœ ์„ค๋ช…ํ•˜๋Š” ์‚ฌ๋žŒ๋“ค๊ณผ ๊ณต๋™ ์ž‘์—…ํ•  ์ˆ˜ ์žˆ๋Š” ์ปจํ…์ŠคํŠธ๋ฅผ ์ œ๊ณตํ•˜๋Š” ๋ฐ ๋„์›€์ด ๋ฉ๋‹ˆ๋‹ค.
  • Octicon์ด ์žฅ์‹์šฉ์ธ ๊ฒฝ์šฐ ํŠน์„ฑ์ด ์žˆ๋Š” ํ™”๋ฉด ์ฝ๊ธฐ aria-hidden=true ํ”„๋กœ๊ทธ๋žจ์— ์ˆจ๊ฒจ์ ธ ์žˆ๋Š” ๊ฒƒ์ผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ ‡๋‹ค๋ฉด ์ œํ’ˆ๊ณผ์˜ ์ผ๊ด€์„ฑ์„ ์œ„ํ•ด ๋ฌธ์„œ์˜ Octicon์— ๋Œ€ํ•œ Liquid ๊ตฌ๋ฌธ์—๋„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค aria-hidden="true" (์˜ˆ: "{% octicon "plus" aria-hidden="true" %} Add message").

"๊ฒ€์‚ฌ" ๋ฐ "x" ์•„์ด์ฝ˜์„ ์‚ฌ์šฉํ•˜์—ฌ ํ…Œ์ด๋ธ”์˜ ์ด์ง„ ๊ฐ’์„ ๋ฐ˜์˜ํ•˜๋Š” ๊ฒƒ๊ณผ ๊ฐ™์€ ๋‹ค๋ฅธ ๋ฐฉ๋ฒ•์œผ๋กœ Octicon์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ์‹œ๊ฐ์  ํŠน์„ฑ์ด ์•„๋‹Œ Octicon์˜ ์˜๋ฏธ๋ฅผ ์„ค๋ช…ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹คaria-label. ์˜ˆ๋ฅผ ๋“ค์–ด ํ…Œ์ด๋ธ”์˜ "์ง€์›๋˜๋Š”" ์—ด์—์„œ "x" ์•„์ด์ฝ˜์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ "์ง€์›๋˜์ง€ ์•Š์Œ"์„ aria-label์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์Šคํƒ€์ผ ๊ฐ€์ด๋“œ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

Octicons์˜ ์˜ˆ์‹œ ์‚ฌ์šฉ

{% octicon "<name of Octicon>" %}
{% octicon "plus" %}
{% octicon "plus" aria-label="Add file" %}
"{% octicon "plus" aria-hidden="true" %} Add file"

์šด์˜ ์ฒด์ œ ํƒœ๊ทธ

๊ฒฝ์šฐ์— ๋”ฐ๋ผ ๋‹ค๋ฅธ ์šด์˜ ์ฒด์ œ์— ๋Œ€ํ•œ ์„ค๋ช…์„œ๋ฅผ ์ž‘์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ฐ ์šด์˜ ์ฒด์ œ์—๋Š” ๋‹ค๋ฅธ ์ง€์นจ ์ง‘ํ•ฉ์ด ํ•„์š”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์šด์˜ ์ฒด์ œ ํƒœ๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ฐ ์šด์˜ ์ฒด์ œ์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ๊ตฌ๋ถ„ํ•ฉ๋‹ˆ๋‹ค.

์šด์˜ ์ฒด์ œ ํƒœ๊ทธ ์‚ฌ์šฉ ์˜ˆ

{% mac %}

These instructions are pertinent to Mac users.

{% endmac %}
{% linux %}

 These instructions are pertinent to Linux users.

{% endlinux %}
{% windows %}

These instructions are pertinent to Windows users.

{% endwindows %}

๋ฌธ์„œ์˜ YAML ํ”„๋ŸฐํŠธ๋งคํ„ฐ์—์„œ ๊ธฐ๋ณธ ํ”Œ๋žซํผ์„ ์ •์˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ YAML ํ”„๋ก ํŠธ๋งคํ„ฐ ์‚ฌ์šฉ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

๋„๊ตฌ ํƒœ๊ทธ

๊ฒฝ์šฐ์— ๋”ฐ๋ผ ๋‹ค๋ฅธ ๋„๊ตฌ์— ๋Œ€ํ•ด์„œ๋Š” ์ง€์นจ์ด ๋‹ค๋ฅธ ์„ค๋ช…์„œ๋ฅผ ์ž‘์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด GitHub UI, GitHub CLI, GitHub Desktop, GitHub Codespaces ๋ฐ Visual Studio Code์€(๋Š”) ๋‹ค๋ฅธ ๋‹จ๊ณ„๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋™์ผํ•œ ์ž‘์—…์„ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋„๊ตฌ ํƒœ๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ฐ ๋„๊ตฌ์— ๋Œ€ํ•ด ํ‘œ์‹œ๋˜๋Š” ์ •๋ณด๋ฅผ ์ œ์–ดํ•ฉ๋‹ˆ๋‹ค.

GitHub Docs์€(๋Š”) GitHub ์ œํ’ˆ ๋ฐ ์„ ํƒํ•œ ํƒ€์‚ฌ ํ™•์žฅ์— ๋Œ€ํ•œ ๋„๊ตฌ ํƒœ๊ทธ๋ฅผ ์œ ์ง€ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค. ์ง€์›๋˜๋Š” ๋ชจ๋“  ๋„๊ตฌ์˜ ๋ชฉ๋ก์— ๋Œ€ํ•ด all-tools.ts ๊ฐœ์ฒด๋ฅผ github/docs ๋ฆฌํฌ์ง€ํ† ๋ฆฌ์—์„œ ์ฐธ์กฐํ•˜์„ธ์š”.

๋“œ๋ฌธ ๊ฒฝ์šฐ์ง€๋งŒ ์ƒˆ ๋„๊ตฌ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ƒˆ ๋„๊ตฌ๋ฅผ ์ถ”๊ฐ€ํ•˜๊ธฐ ์ „์— ๋ฌธ์„œ์—์„œ ๋„๊ตฌ ์ „ํ™˜๊ธฐ ๋งŒ๋“ค๊ธฐ์„(๋ฅผ) ์ฝ์Šต๋‹ˆ๋‹ค. ์ƒˆ ๋„๊ตฌ๋ฅผ ์ถ”๊ฐ€ํ•˜๋ ค๋ฉด ๊ฐœ์ฒด lib/all-tools.ts ์— allTools ํ•ญ๋ชฉ์„ ํ‚ค-๊ฐ’ ์Œ์œผ๋กœ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ํ‚ค๋Š” ์•„ํ‹ฐํด์˜ ๋„๊ตฌ๋ฅผ ์ฐธ์กฐํ•˜๋Š” ๋ฐ ์‚ฌ์šฉํ•  ํƒœ๊ทธ์ด๋ฉฐ, ๊ฐ’์€ ์•„ํ‹ฐํด ๋งจ ์œ„์— ์žˆ๋Š” ๋„๊ตฌ ์„ ํƒ๊ธฐ์—์„œ ๋„๊ตฌ๋ฅผ ์‹๋ณ„ํ•˜๋Š” ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค.

YAML ํ”„๋ŸฐํŠธ๋งคํ„ฐ์—์„œ ์•„ํ‹ฐํด์— ๋Œ€ํ•œ ๊ธฐ๋ณธ ๋„๊ตฌ๋ฅผ ์ •์˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ YAML ํ”„๋ก ํŠธ๋งคํ„ฐ ์‚ฌ์šฉ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

๋„๊ตฌ ํƒœ๊ทธ ์‚ฌ์šฉ ์˜ˆ

{% api %}

These instructions are pertinent to API users.

{% endapi %}
{% bash %}

These instructions are pertinent to Bash shell commands.

{% endbash %}
{% cli %}

These instructions are pertinent to GitHub CLI users.

{% endcli %}
{% codespaces %}

These instructions are pertinent to Codespaces users. They are mostly used outside the Codespaces docset, when we want to refer to how to do something inside Codespaces. Otherwise `webui` or `vscode` may be used.

{% endcodespaces %}
{% curl %}

These instructions are pertinent to curl commands.

{% endcurl %}
{% desktop %}

 These instructions are pertinent to GitHub Desktop.

{% enddesktop %}
{% importer_cli %}

These instructions are pertinent to GitHub Enterprise Importer CLI users.

{% endimporter_cli %}
{% javascript %}

These instructions are pertinent to javascript users.

{% endjavascript %}
{% jetbrains %}

These instructions are pertinent to users of JetBrains IDEs.

{% endjetbrains %}
{% powershell %}

These instructions are pertinent to `pwsh` and `powershell` commands.

{% endpowershell %}
{% vscode %}

These instructions are pertinent to VS Code users.

{% endvscode %}
{% webui %}

These instructions are pertinent to GitHub UI users.

{% endwebui %}

์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ํ…์ŠคํŠธ ๋ฌธ์ž์—ด ๋ฐ ๋ณ€์ˆ˜

์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ฌธ์ž์—ด(์ผ๋ฐ˜์ ์œผ๋กœ ์ฝ˜ํ…์ธ  ์ฐธ์กฐ ๋˜๋Š” conrefs๋ผ๊ณ  ํ•จ)์—๋Š” ์„ค๋ช…์„œ์—์„œ ๋‘˜ ์ด์ƒ์˜ ์œ„์น˜์—์„œ ์‚ฌ์šฉ๋˜๋Š” ์ฝ˜ํ…์ธ ๊ฐ€ ํฌํ•จ๋ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ๋งŒ๋“ค๋ฉด ๋ฌธ์ž์—ด์ด ํ‘œ์‹œ๋˜๋Š” ๋ชจ๋“  ์œ„์น˜๊ฐ€ ์•„๋‹Œ ๋‹จ์ผ ์œ„์น˜์—์„œ ์ฝ˜ํ…์ธ ๋ฅผ ์—…๋ฐ์ดํŠธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋” ๊ธด ๋ฌธ์ž์—ด์˜ ๊ฒฝ์šฐ ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋ฌธ์ž์—ด์„ ์‚ฌ์šฉํ•˜๊ณ  ๋” ์งง์€ ๋ฌธ์ž์—ด์˜ ๊ฒฝ์šฐ ๋ณ€์ˆ˜๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅ ๋ฐ ๋ณ€์ˆ˜์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์žฌ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์ฝ˜ํ…์ธ  ๋งŒ๋“ค๊ธฐ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

ํ…Œ์ด๋ธ” ํŒŒ์ดํ”„

GitHub Docs์— ์žˆ๋Š” ํ…Œ์ด๋ธ”์˜ ๋ชจ๋“  ํ–‰์€ Liquid ๋ฒ„์ „ ๊ด€๋ฆฌ๋งŒ ํฌํ•จ๋œ ํ–‰์„ ํฌํ•จํ•˜์—ฌ ํŒŒ์ดํ”„์ธ |๋กœ ์‹œ์ž‘ํ•˜๊ณ  ๋๋‚˜์•ผ ํ•ฉ๋‹ˆ๋‹ค.

| Where is the table located? | Does every row end with a pipe? |
| --- | --- |
| {% ifversion some-cool-feature %} |
| GitHub Docs | Yes |
| {% endif %} |

ํ…Œ์ด๋ธ” ํ–‰ ๋จธ๋ฆฌ๊ธ€

์ฒซ ๋ฒˆ์งธ ์—ด์— ํ…Œ์ด๋ธ” ํ–‰์˜ ๋จธ๋ฆฌ๊ธ€์ด ํฌํ•จ๋œ ํ…Œ์ด๋ธ”์„ ๋งŒ๋“œ๋Š” ๊ฒฝ์šฐ ํ…Œ์ด๋ธ”์„ Liquid ํƒœ๊ทธ {% rowheaders %} {% endrowheaders %}์— ๋ž˜ํ•‘ํ•ฉ๋‹ˆ๋‹ค. ํ…Œ์ด๋ธ”์— ํƒœ๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์Šคํƒ€์ผ ๊ฐ€์ด๋“œ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

ํ–‰ ๋จธ๋ฆฌ๊ธ€์ด ์žˆ๋Š” ์˜ˆ์‹œ ํ…Œ์ด๋ธ”

{% rowheaders %}

|             | Mona | Tom    | Hobbes |
|-------------|------|--------|--------|
|Type of cat  | Octo | Tuxedo | Tiger  |
|Likes to swim| Yes  | No     | No     |

{% endrowheaders %}

ํ–‰ ๋จธ๋ฆฌ๊ธ€์ด ์—†๋Š” ์˜ˆ์‹œ ํ…Œ์ด๋ธ”

| Name   | Vocation         |
| ------ | ---------------- |
| Mona   | GitHub mascot    |
| Tom    | Mouse antagonist |
| Hobbes | Best friend      |

์ฝ”๋“œ ๋ธ”๋ก์ด ์žˆ๋Š” ํ‘œ

์ฝ”๋“œ ๋ธ”๋ก๊ณผ ๊ฐ™์€ ๋ธ”๋ก ํ•ญ๋ชฉ์„ ํฌํ•จํ•˜๋Š” ํ…Œ์ด๋ธ”์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์€ ์ผ๋ฐ˜์ ์œผ๋กœ ๊ถŒ์žฅ๋˜์ง€ ์•Š์ง€๋งŒ ๊ฒฝ์šฐ์— ๋”ฐ๋ผ ์ ์ ˆํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

GitHub Flavored Markdown์˜ ํ…Œ์ด๋ธ”์—๋Š” ์ค„ ๋ฐ”๊ฟˆ ๋˜๋Š” ๋ธ”๋ก ์ˆ˜์ค€ ๊ตฌ์กฐ์ฒด๊ฐ€ ํฌํ•จ๋  ์ˆ˜ ์—†์œผ๋ฏ€๋กœ HTML ํƒœ๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ…Œ์ด๋ธ” ๊ตฌ์กฐ๋ฅผ ์ž‘์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

HTML ํ…Œ์ด๋ธ”์— ์ฝ”๋“œ ๋ธ”๋ก์ด ํฌํ•จ๋œ ๊ฒฝ์šฐ ํ…Œ์ด๋ธ”์˜ ๋„ˆ๋น„๊ฐ€ ํŽ˜์ด์ง€ ์ฝ˜ํ…์ธ ์˜ ์ผ๋ฐ˜ ๋„ˆ๋น„๋ฅผ ์ดˆ๊ณผํ•œ ๋‹ค์Œ ์ผ๋ฐ˜์ ์œผ๋กœ ๋ฏธ๋‹ˆ ๋ชฉ์ฐจ๊ฐ€ ํฌํ•จ๋œ ์˜์—ญ์œผ๋กœ ์˜ค๋ฒ„ํ”Œ๋กœ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด ๊ฒฝ์šฐ HTML ํƒœ๊ทธ์— ๋‹ค์Œ CSS ์Šคํƒ€์ผ์„ <table> ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

<table style="table-layout: fixed;">

์ด ์‚ฌ์šฉ์˜ ํ˜„์žฌ ์˜ˆ์‹œ๋Š” GitHub Actions๋กœ ์ž‘์—… ๊ด€๋ฆฌ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

๋ฆฌํฌ์ง€ํ† ๋ฆฌ์˜ docs ๋ฌธ์„œ์— ๋Œ€ํ•œ ๋งํฌ๋Š” ์ œํ’ˆ ID(์˜ˆ: /actions ๋˜๋Š” /admin)๋กœ ์‹œ์ž‘ํ•˜๊ณ  ํŒŒ์ผ ํ™•์žฅ๋ช…์€ ์•„๋‹Œ ์ „์ฒด ํŒŒ์ผ ๊ฒฝ๋กœ๋ฅผ ํฌํ•จํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ๋“ค ๋“ค์–ด /actions/creating-actions/about-custom-actions์ž…๋‹ˆ๋‹ค.

์ด๋ฏธ์ง€ ๊ฒฝ๋กœ๋Š” ํŒŒ์ผ ํ™•์žฅ๋ช…์„ ํฌํ•จํ•œ ์ „์ฒด ํŒŒ์ผ ๊ฒฝ๋กœ๋กœ /assets ์‹œ์ž‘ํ•˜๊ณ  ํฌํ•จํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ๋“ค ๋“ค์–ด /assets/images/help/settings/settings-account-delete.png์ž…๋‹ˆ๋‹ค.

Markdown ํŽ˜์ด์ง€์— ๋Œ€ํ•œ ๋งํฌ๋Š” ํ˜„์žฌ ํŽ˜์ด์ง€์˜ ์–ธ์–ด ๋ฐ ๋ฒ„์ „๊ณผ ์ผ์น˜ํ•˜๋„๋ก ์„œ๋ฒ„ ์ชฝ์—์„œ ์ผ๋ถ€ ๋ณ€ํ™˜์„ ๊ฑฐ์นฉ๋‹ˆ๋‹ค. ๋ณ€ํ™˜์— ๋Œ€ํ•œ ์ฒ˜๋ฆฌ๋Š” lib/render-content/plugins/rewrite-local-links์— ์žˆ์Šต๋‹ˆ๋‹ค.

์˜ˆ๋ฅผ ๋“ค์–ด ์ฝ˜ํ…์ธ  ํŒŒ์ผ์— ๋‹ค์Œ ๋งํฌ๋ฅผ ํฌํ•จํ•˜๋Š” ๊ฒฝ์šฐ์—๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

/github/writing-on-github/creating-a-saved-reply

GitHub Docs ๋ฌธ์„œ์—์„œ ๋ณผ ๋•Œ ๋งํฌ๋Š” ์–ธ์–ด ์ฝ”๋“œ๋กœ ๋ Œ๋”๋ง๋ฉ๋‹ˆ๋‹ค.

/en/github/writing-on-github/creating-a-saved-reply

GitHub Enterprise Server ๋ฌธ์„œ์—์„œ ๋ณผ ๋•Œ ๋ฒ„์ „๋„ ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

/en/enterprise-server@2.20/github/writing-on-github/creating-a-saved-reply

๋งํฌ์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ ์Šคํƒ€์ผ ๊ฐ€์ด๋“œ์„(๋ฅผ) ์ฐธ์กฐํ•˜์„ธ์š”.

์‚ฌ์ดํŠธ๋Š” ๋™์ ์ด๋ฏ€๋กœ ๊ฐ ๋ฒ„์ „์˜ ์•„ํ‹ฐํด์— ๋Œ€ํ•œ HTML ํŒŒ์ผ์„ ๋นŒ๋“œํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋Œ€์‹  ๋ฌธ์„œ์˜ ๋ชจ๋“  ๋ฒ„์ „์— ๋Œ€ํ•ด "๊ณ ์œ  ๋งํฌ"์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์ด ์ž‘์—…์€ ๋ฌธ์„œ์˜ versions ํ”„๋ŸฐํŠธ๋งคํ„ฐ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค.

์ฐธ๊ณ  ํ•ญ๋ชฉ

2021๋…„ ์ดˆ๋ถ€ํ„ฐ free-pro-team@latest ๋ฒ„์ „์€ URL์— ํฌํ•จ๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค. lib/remove-fpt-from-path.js(์ด)๋ผ๋Š” ๋„์šฐ๋ฏธ ํ•จ์ˆ˜๊ฐ€ URL์—์„œ ์ด ๋ฒ„์ „์„ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ๋ฅผ ๋“ค์–ด ํ˜„์žฌ ์ง€์›๋˜๋Š” ๋ฒ„์ „์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฌธ์„œ์—๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๊ณ ์œ  ๋งํฌ URL์ด ์žˆ์Šต๋‹ˆ๋‹ค.

  • /en/get-started/git-basics/set-up-git
  • /en/enterprise-cloud@latest/get-started/git-basics/set-up-git
  • /en/enterprise-server@3.10/get-started/git-basics/set-up-git
  • /en/enterprise-server@3.9/get-started/git-basics/set-up-git
  • /en/enterprise-server@3.8/get-started/git-basics/set-up-git
  • /en/enterprise-server@3.7/get-started/git-basics/set-up-git
  • /en/enterprise-server@3.6/get-started/git-basics/set-up-git

GitHub Enterprise Server์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†๋Š” ์•„ํ‹ฐํด์—๋Š” ๊ณ ์œ  ๋งํฌ ํ•˜๋‚˜๋งŒ ์žˆ์Šต๋‹ˆ๋‹ค.

  • /en/get-started/git-basics/set-up-git

์ฐธ๊ณ  ํ•ญ๋ชฉ

์ฝ˜ํ…์ธ  ๊ธฐ์—ฌ์ž ๊ฒฝ์šฐ ๋ฌธ์„œ์— ๋งํฌ๋ฅผ ์ถ”๊ฐ€ํ•  ๋•Œ ์ง€์›๋˜๋Š” ๋ฒ„์ „์— ๋Œ€ํ•ด ๊ฑฑ์ •ํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. ์œ„์˜ ์˜ˆ์‹œ์— ๋”ฐ๋ผ ์•„ํ‹ฐํด์„ ์ฐธ์กฐํ•˜๋ ค๋Š” ๊ฒฝ์šฐ ํ•ด๋‹น ์ƒ๋Œ€ ์œ„์น˜ /github/getting-started-with-github/set-up-git๋งŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹ค๋ฅธ GitHub Docs ํŽ˜์ด์ง€์— ์—ฐ๊ฒฐํ•  ๋•Œ๋Š” ํŽ˜์ด์ง€ ์ œ๋ชฉ ๋Œ€์‹  ์ž…๋ ฅ AUTOTITLE ๊ณผ ๊ฐ™์€ []()ํ‘œ์ค€ Markdown ๊ตฌ๋ฌธ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. GitHub Docs ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์€ ๋ Œ๋”๋ง ์ค‘์— ์—ฐ๊ฒฐ๋œ ํŽ˜์ด์ง€์˜ ์ œ๋ชฉ์œผ๋กœ ๋ฐ”๋€ AUTOTITLE ์žˆ์Šต๋‹ˆ๋‹ค. ์ด ํŠน์ˆ˜ ํ‚ค์›Œ๋“œ(keyword) ๋Œ€/์†Œ๋ฌธ์ž๋ฅผ ๊ตฌ๋ถ„ํ•˜๋ฏ€๋กœ ์ž…๋ ฅ์„ ์ฃผ์˜ํ•˜๊ฑฐ๋‚˜ ๊ต์ฒด๊ฐ€ ์ž‘๋™ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

  • For more information, see [AUTOTITLE](/path/to/page).
  • For more information, see [AUTOTITLE](/path/to/page#section-link).
  • For more information, see the TOOLNAME documentation in [AUTOTITLE](/path/to/page?tool=TOOLNAME).

์ฐธ๊ณ  ํ•ญ๋ชฉ

๋™์ผํ•œ ํŽ˜์ด์ง€ ์„น์…˜ ๋งํฌ๋Š” ์ด ํ‚ค์›Œ๋“œ๊ฐ€ ์ž‘๋™ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋Œ€์‹  ์ „์ฒด ๋จธ๋ฆฌ๊ธ€ ํ…์ŠคํŠธ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

๋‹ค๋ฅธ ๋ฒ„์ „์˜ ๋ฌธ์„œ์˜ ํ˜„์žฌ ๋ฌธ์„œ์— ์—ฐ๊ฒฐ

๊ฒฝ์šฐ์— ๋”ฐ๋ผ ์•„ํ‹ฐํด์—์„œ ๋‹ค๋ฅธ ์ œํ’ˆ ๋ฒ„์ „์˜ ๋™์ผํ•œ ๋ฌธ์„œ๋กœ ์—ฐ๊ฒฐํ•˜๋ ค๊ณ  ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ์‹œ:

  • ๋ฌด๋ฃŒ, pro ๋˜๋Š” ํŒ€ ํ”Œ๋žœ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†๋Š” ์ผ๋ถ€ ๊ธฐ๋Šฅ์„ ๋ฉ˜์…˜ํ•˜๊ณ  ๋™์ผํ•œ ํŽ˜์ด์ง€์˜ GitHub Enterprise Cloud ๋ฒ„์ „์— ์—ฐ๊ฒฐํ•˜๋ ค๋Š” ๊ฒ๋‹ˆ๋‹ค.
  • GitHub Enterprise Server ๋ฒ„์ „์˜ ๋ฌธ์„œ์—์„œ๋Š” ํ•ด๋‹น ๋ฒ„์ „๊ณผ ํ•จ๊ป˜ ์ œ๊ณต๋˜๋Š” ๊ธฐ๋Šฅ์„ ์„ค๋ช…ํ•˜์ง€๋งŒ ์‚ฌ์ดํŠธ ๊ด€๋ฆฌ์ž๋Š” GitHub Enterprise Cloud์—์„œ ์‚ฌ์šฉ ์ค‘์ธ ์ตœ์‹  ๋ฒ„์ „์˜ ๊ธฐ๋Šฅ์œผ๋กœ ์—…๊ทธ๋ ˆ์ด๋“œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์†์„ฑ์„ ์‚ฌ์šฉํ•˜์—ฌ currentArticle ํŽ˜์ด์ง€์˜ ๋‹ค๋ฅธ ๋ฒ„์ „์— ์ง์ ‘ ์—ฐ๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ฆ‰, ์•„ํ‹ฐํด URL์ด ๋ณ€๊ฒฝ๋˜๋”๋ผ๋„ ๋งํฌ๊ฐ€ ๊ณ„์† ์ง์ ‘ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

{% ifversion fpt %}For more information, see the [{% data variables.product.prodname_ghe_cloud %} documentation](/enterprise-cloud@latest{{ currentArticle }}).{% endif %}

๋ณ€ํ™˜ ๋ฐฉ์ง€

Enterprise ์ฝ˜ํ…์ธ ์—์„œ Dotcom ์ „์šฉ ๋ฌธ์„œ์— ์—ฐ๊ฒฐํ•˜๋ ค๊ณ  ํ•˜๋ฉด์„œ ๋งํฌ๋ฅผ Enterpriseํ™”ํ•˜์ง€ ์•Š์œผ๋ ค๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ณ€ํ™˜์„ ๋ฐฉ์ง€ํ•˜๋ ค๋ฉด ๊ฒฝ๋กœ์— ๊ธฐ๋ณธ ๋ฒ„์ „์„ ํฌํ•จํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

[GitHub's Terms of Service](/free-pro-team@latest/github/site-policy/github-terms-of-service)

๊ฒฝ์šฐ์— ๋”ฐ๋ผ ์ฝ˜ํ…์ธ ์˜ ์ •์‹ ํ™ˆ์ด ๋ฌธ์„œ ์‚ฌ์ดํŠธ ์™ธ๋ถ€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. src/redirects/lib/external-sites.json์— ํฌํ•จ๋œ ๋ชจ๋“  ๋งํฌ๋Š” ๋‹ค์‹œ ์ž‘์„ฑ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ์ด ์œ ํ˜•์˜ ๋ฆฌ๋””๋ ‰์…˜์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์€ contributing/redirects.md๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

๋ฌธ์„œ์—๋Š” ๋ ˆ๊ฑฐ์‹œ ํŒŒ์ผ ๊ฒฝ๋กœ(์˜ˆ: /article/article-name ๋˜๋Š” /github/article-name.)๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋งํฌ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฌธ์„œ์—๋Š” ๊ณผ๊ฑฐ ์ด๋ฆ„์œผ๋กœ ๋ฌธ์„œ๋ฅผ ์ฐธ์กฐํ•˜๋Š” ๋งํฌ๋„ ํฌํ•จ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ ๋งํฌ ํ˜•์‹์€ ๋ชจ๋‘ ๋ฆฌ๋””๋ ‰์…˜์œผ๋กœ ์ธํ•ด ์ œ๋Œ€๋กœ ์ž‘๋™ํ•˜์ง€๋งŒ ๋ฒ„๊ทธ์ž…๋‹ˆ๋‹ค.

์•„ํ‹ฐํด์— ๋Œ€ํ•œ ๋งํฌ๋ฅผ ์ถ”๊ฐ€ํ•  ๋•Œ ํ˜„์žฌ ํŒŒ์ผ ๊ฒฝ๋กœ ๋ฐ ์•„ํ‹ฐํด ์ด๋ฆ„์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.