위젯


개념 위젯과 연습 문제 위젯은 사이트 곳곳에서 자주 쓰여요. 이렇게 생겼죠:

사용자 상황에 맞는 툴팁도 있어요. 이런 식으로요:

마크다운 문서에 이런 위젯을 직접 넣고 싶을 때가 있어요. 예를 들어 문서 끝에서 더 읽을 거리를 추천하거나, 무언가를 배우는 데 좋은 연습 문제를 소개할 때 말이죠.

참고: 본문 텍스트에는 일반 링크를 써도 되는데, 그러면 툴팁이 자동으로 붙어요. 자세한 내용은 내부 링크 문서를 참고해요.

사용법

위젯은 마크다운을 쓸 수 있는 곳이면 어디든 사용할 수 있어요. 문서, 접근법, 학생과 멘토의 토론 등이요.

다음 형식으로 렌더링돼요:

[<type>:<id>]()

<type>과 <id> 부분은 고정된 값이 아니라 사용하는 위젯에 따라 달라져요.

링크 참조, 즉 () 안의 내용은 웹사이트에서 무시해요. 유지보수를 위해 원하는 대로 지정해도 돼요.

연습 문제 위젯

링크 형식: [exercise:<track-slug>/<exercise-slug>]()

예시

Great job on solving this exercise! Some other exercises that you might also like to try:

- [exercise:fsharp/anagram]()
- [exercise:fsharp/isogram]()

개념 위젯

링크 형식: [concept:<track-slug>/<concept-slug>]()

예시

There are three primary conditional statements that are used in Julia:

- [concept:julia/if-statements]()
- [concept:julia/ternary-operator]()
- [concept:julia/short-circuiting]()

접근법 위젯

링크 형식: [approach:<track-slug>/<exercise-slug>/<approach-slug>]()

예시

Here are some approaches you might want to checkout!

- [approach:csharp/two-fer/method-overloading]()
- [approach:csharp/two-fer/optional-parameter]()

아티클 위젯

링크 형식: [article:<track-slug>/<exercise-slug>/<article-slug>]()

예시

We have an article you might be interested in:

- [article:csharp/reverse-string/performance]()