Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed Apr 13, 2024
2 parents 0452b89 + 2a505b2 commit 9a23c3d
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,48 +36,58 @@
> ์ด๋•Œ, {username} ์€ ๋ฐ˜๋“œ์‹œ ์ž์‹ ์˜ ๊นƒํ—ˆ๋ธŒ ์ด๋ฆ„์ด ๋“ค์–ด๊ฐ€์•ผ ํ•ฉ๋‹ˆ๋‹ค.
### farm mode

farm mode๋Š” ๊ฐ–๊ณ ์žˆ๋Š” ๋ชจ๋“  ๋™๋ฌผ๊ณผ ์ถ”๊ฐ€์ ์ธ ์ •๋ณด๋ฅผ ๋ณด์—ฌ์ค˜์š”.

<a href="https://github.com/devxb/gitanimals">
<img src = "https://render.gitanimals.org/farms/devxb" width="300"/>
</a>

**markdown**
```markdown
[![gitanimals](https://render.gitanimals.org/farms/{username})](https://github.com/devxb/gitanimals)
```

**html**
```html
<a href="https://github.com/devxb/gitanimals">
<img src = "https://render.gitanimals.org/farms/{username}"/>
</a>
```

### line mode

line mode๋Š” ์ž์‹ ์ด ๊ฐ–๊ณ ์žˆ๋Š” ํŽซ์ค‘ ํ•˜๋‚˜๋ฅผ ์ง€์ •ํ•ด์„œ, ์ง€์ •ํ•œ width, height๋ฒ”์œ„์—์„œ ์›€์ง์ด๊ฒŒ ํ•ด์š”.
ํŽซ์ด Readme์—์„œ ์ž์œ ๋กญ๊ฒŒ ์›€์ง์ด๋Š”๋ชจ์Šต์„ ํ‘œํ˜„ํ•  ์ˆ˜ ์žˆ์–ด์š”.
pet-id์— ์•„๋ฌด๊ฐ’๋„ ์ž…๋ ฅํ•˜์ง€ ์•Š์œผ๋ฉด, ์ฒซ๋ฒˆ์งธ ํŽซ์ด ๊ฐ€์ ธ์™€์ ธ์š”.
_pet-id์— ์•„๋ฌด๊ฐ’๋„ ์ž…๋ ฅํ•˜์ง€ ์•Š์œผ๋ฉด, ์ฒซ๋ฒˆ์งธ ํŽซ์ด ๊ฐ€์ ธ์™€์ ธ์š”._
> [!TIP]
> **Img์˜ width์™€ height๋ฅผ ์กฐ์ ˆํ•ด์„œ ํŽซ์˜ ์ด๋™์˜์—ญ์„ ์กฐ์ ˆํ•  ์ˆ˜ ์žˆ์–ด์š”.**
> **HTML์„ ๋ถ™์—ฌ๋„ฃ๊ธฐ ํ•  ๊ฒฝ์šฐ, Img์˜ width์™€ height๋ฅผ ์กฐ์ ˆํ•ด์„œ ํŽซ์˜ ์ด๋™์˜์—ญ์„ ์กฐ์ ˆํ•  ์ˆ˜ ์žˆ์–ด์š”.**
> width๋ฅผ ๊ธธ๊ฒŒ height๋ฅผ ์ž‘๊ฒŒํ•˜๋ฉด (width = 1000, height = 60) ๊ฐ€๋กœ๋กœ ๊ธธ๊ฒŒ ์›€์ง์ด๊ฒŒ ํ•  ์ˆ˜ ์žˆ์–ด์š”.
> ๋ฐ˜๋Œ€๋กœ, width๋ฅผ ์ž‘๊ฒŒ height๋ฅผ ๊ธธ๊ฒŒํ•˜๋ฉด (width = 60, height = 1000) ์„ธ๋กœ๋กœ ๊ธธ๊ฒŒ ์›€์ง์ด๊ฒŒ ํ•  ์ˆ˜ ์žˆ์–ด์š”.
<a href="https://github.com/devxb/gitanimals">
<img src = "https://render.gitanimals.org/lines/devxb?pet-id=1" width="300" height="60"/>
</a>

**markdown**
```markdown
[![gitanimals](https://render.gitanimals.org/farms/{username}?mode=line)](https://github.com/devxb/gitanimals)
[![gitanimals](https://render.gitanimals.org/lines/{username})](https://github.com/devxb/gitanimals)
```

**html**
```html
<a href="https://github.com/devxb/gitanimals">
<img src = "https://render.gitanimals.org/lines/{username}" width="1000" height="60"/>
</a>
```
```


### ํŽซ์„ ๋ณ€๊ฒฝํ•˜๋Š” ๋ฐฉ๋ฒ•
ํŽซ์€ ๋‹ค์Œ url์„ ์›น์— ์š”์ฒญ ํ›„, `$.personas.[].id` ์— ํ•ด๋‹นํ•˜๋Š” ๊ฐ’์„ url์˜ pet-id param์— ์ž…๋ ฅํ•˜๋ฉด์„œ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์–ด์š”.
์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ํŽซ์„ ํ™•์ธํ•˜๋ ค๋ฉด, `https://render.gitanimals.org/users/{username}` ์„ url์— ๋ถ™์—ฌ๋„ฃ์œผ์„ธ์š”.
๋ณ€๊ฒฝ๊ฐ€๋Šฅํ•œ ํŽซ์„ ํ™•์ธํ•˜๋ ค๋ฉด, `https://render.gitanimals.org/users/{username}` ์˜ {username}์„ ์ž์‹ ์˜ ๊นƒํ—ˆ๋ธŒ ์•„์ด๋””๋กœ ๋ณ€๊ฒฝ ํ›„, ์š”์ฒญํ•ด๋ณด์„ธ์š”.
```html
์˜ˆ์‹œ)

<a href="https://github.com/devxb/gitanimals">
<img src = "https://render.gitanimals.org/lines/devxb?pet-id=1" width="1000" height="60"/>
</a>
```
```

## TIPS

Expand Down

0 comments on commit 9a23c3d

Please sign in to comment.