Playground Markedown의 Cheet sheet을 만들었어요.
3462 단어 SwiftXcodeplaygroundidea
Playground Markdown
터널리즘으로 발산된 플레이그라운드로 예쁘게 귀결되기 편해요.
Combine의 문법을 외우는 데 쓰려고 총결산을 해봤어요
샘플 항목은 우리측이 책임진다
사용 방법
Show Renderd Markup 확인
MarkDown을 깨닫다
![](https://s1.md5.ltd/image/b83608f76462795d822daadba004b571.png)
Cheet Sheet
기본 문법
//:# Header
//:## Header2
//:### Header3
/*: Bullet points
+ list item 1
+ list item 2
+ list item 3
*/
/*: Numbered lists:
1. list item
1. list item
1. list item
*/
/*:
- *Italic fonts* with a single _leading_ and _trailing_ * or _
- **Bold fonts** with a **double leading and trailing** ** or __
*/
/*:
\````
let indices1 = Array(0..<10)
let indices2 = Array(0..<5)
for i in indices1 {
for j in indices2 {
print (i*j)
}
}
\````
*/
/*:
There are just a few link types:
- [external playground link with a link description](http://www.allaboutswift.com)
- [internal playground link pointing to a page named "page"](page) **or**
- internal playground link pointing to the **[previous page](@previous)** or **[next page](@next)**
*/
/*:
- callout(Custom callout): FYI only
- experiment: Let's see ...
- note:What's that?
- important: Don't forget this !
- example: Something like this
*/
![](https://s1.md5.ltd/image/0896a4265f4dbd78efc68570a56e49d5.png)
Xcode File Inspector 정렬 순서가 페이지 정렬 순서와 일치
Tips가 소개하는 코너입니다.
사용하기 편리한 기능 중 하나인 단축키
Preview 등이 없으므로 MarkDown의 렌더링을 전환하려는 경우
Show Rendered Markup에 키보드 단축키를 할당하면 간단합니다!
![](https://s1.md5.ltd/image/9cd1be1ff6df7bbe46ad6e433c20bbe9.png)
사용하기 편리한 기능 2 Code Snipe
페이지마다 공통된 코드, 예를 들면 플레이그라운드 페이지 사이의 Navigation 등은 여러 번 쓰기가 번거로워서 등록한다
예를 들어 헤더 부분에 설치된 내용을 sni 애완동물에 등록합니다
![](https://s1.md5.ltd/image/e009c53fbc6703b20c16c3fc1c5f1ef9.png)
/*:
[<- Previeous](@previous) [Home](Home) [Next ->](@next)
# PageTitle
*/
방법 순서
![](https://s1.md5.ltd/image/664c997a5339f877eca7de082610a8a8.png)
꼭 선택하고 체크하세요!
![](https://s1.md5.ltd/image/e57b6f6ebbb0d39ce93d5f83a79cf2cd.png)
참고 자료
Reference
이 문제에 관하여(Playground Markedown의 Cheet sheet을 만들었어요.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://zenn.dev/jime/articles/tips_playground텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)