# 시에서 앞쪽 공백과 기타 포맷을 유지하는 간단한 방법이 있을까요?

**URL:** https://meta.discourse.org/t/is-there-a-simple-way-to-not-strip-leading-spaces-and-other-formatting-in-a-poem/407991
**Category:** Support
**Tags:** composer
**Created:** [7월 20, 2026, 12:06오전 UTC](https://meta.discourse.org/t/is-there-a-simple-way-to-not-strip-leading-spaces-and-other-formatting-in-a-poem/407991 "2026-07-20T00:06:01Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [7월 20, 2026, 6:15오전 UTC](https://meta.discourse.org/t/is-there-a-simple-way-to-not-strip-leading-spaces-and-other-formatting-in-a-poem/407991/5 "2026-07-20T06:15:55Z")

</div>

백틱(``` + txt)을 사용해도 되는데, 이렇게 하면 포맷이 유지되지만 스타일을 마음에 들어하지 않을 수도 있습니다

 ![CleanShot 2026-07-20 at 08.24.46@2x](https://global.discourse-cdn.com/meta/original/4X/0/6/6/066b626cfbcd6bef888c263ef787237918eb1eaa.png)

또는 리치 텍스트 에디터에서:

 ![CleanShot 2026-07-20 at 08.25.11@2x](https://global.discourse-cdn.com/meta/original/4X/e/6/7/e67fa273bd717656d1dffaec71ce2c1c692571bd.png)

다음과 같이 변환됩니다:

```txt
hello world
 this is a line with a leading space
  this is a line with 2 leading spaces
   this is a line with 3 leading spaces

```

TC에 접근 권한이 있다면, 이를 완화하기 위해 작은 CSS를 추가할 수 있습니다:

```plaintext
code.lang-txt, pre code.lang-txt {
  font-family: cursive;
  font-size: inherit;
  background: transparent;
  color: inherit;
}
pre:has(code.lang-txt) {
  background: transparent;
  border: none;
  padding: 0;
}

```

예를 들어, 다음과 같이 보입니다:

 ![CleanShot 2026-07-20 at 08.19.42@2x](https://global.discourse-cdn.com/meta/original/4X/1/8/8/18846987500b0d1fd41b26d82a33b52b10215fe7.png)

```plaintext

```

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-simple-way-to-not-strip-leading-spaces-and-other-formatting-in-a-poem/407991)._
