# Text Formatting

Unresolved directive in <stdin> - include::./attributes/dir_attrs.adoc[]

문서개요

> This document has a header that specifies the Text Formatting. This document is about the text formatting.

## 굵게 (*)

    A bold *word*, and a bold *phrase of text*.
    Bold c**hara**cter**s** within a word.

A bold word, and a bold phrase of text. Bold characters within a word.

## 기울임체 (_)

    An italic _word_, and an italic _phrase of text_.
    Italic c__hara__cter__s__ within a word.

An italic word, and an italic phrase of text. Italic characters within a word.

## 고정 폭 (`)

    "`Wait!`" Indigo plucked a small vial from her desk's top drawer
    and held it toward us.
    The vial's label read: `E=mc^2^`; the `E` represents _energy_,
    but also pure _genius!_

“Wait!” Indigo plucked a small vial from her desk’s top drawer and held it toward us. The vial’s label read: `E=mc2`; the `E` represents energy, but also pure genius!

## 강조 표시 (#)

    Mark my words, #automation is essential#.
    Mark my words, auto##ma##tion is essential.

Mark my words, automation is essential. Mark my words, automation is essential.

## 스타일 구문 ([.]#)

    Do werewolves believe in [.small]#small print#?
    [.big]##O##nce upon an infinite loop.

Do werewolves believe in small print? Once upon an infinite loop.

### Text with custom role

    This sentence contains [.userinput]*bold inline content* that's assigned a role.
    => HTML:

    [source,html]
    ----
    <p>This sentence contains <strong class="userinput">bold inline content</strong> that&#8217;s assigned a role.</p>
    ----
    ** See the link:Blocks_sample.adoc#blocks_sample[Blocks sample] for more details about the block usage.
    ** See the link:Links_sample.adoc#links_sample[Links sample] for more details about the link usage.

This sentence contains bold inline content that’s assigned a role. ⇒ HTML:

    <p>This sentence contains <strong class="userinput">bold inline content</strong> that&#8217;s assigned a role.</p>

- See the Blocks sample for more details about the block usage.

- See the Links sample for more details about the link usage.

## 아래 첨자 (~), 위 첨자 (^)

    "`Well the H~2~O formula written on their whiteboard could be part
    of a shopping list, but I don't think the local bodega sells
    E=mc^2^,`" Lazarus replied.

“Well the H2O formula written on their whiteboard could be part of a shopping list, but I don’t think the local bodega sells E=mc2,” Lazarus replied.

## 밑줄

    The text pass:[<u>underline me</u>] is underlined.

The text underline me is underlined.

## 권고 레이블

- 레이블은 대문자여야 함.

- 단락일 경우

  - 레이블 바로 뒤에 콜론(:)이 온다.

  - 단락의 첫 번째 줄을 레이블에서 한 칸으로 구분

- 블록일 경우

  - 속성 목록([ ])에서 레이블을 설정

  - 일반적으로 예제 블록(====)에 설정

- 종류

소스 | 결과
--- | ---
    . {blank}
    +
    NOTE: 단락
          note1
          note2

    . {blank}
    +
    [TIP]
    .tips
    ====
    * 블록
    * tip1
    * tip2
    ====

    . {blank}
    +
    IMPORTANT: important

    . {blank}
    +
    CAUTION: caution

    . {blank}
    +
    WARNING: warning
1. | 단락 note1 note2
2. | tips 블록 tip1 tip2
3. | important
4. | caution
5. | warning

| 단락 note1 note2

1. | 단락 note1 note2

2. note2

3. | 단락 note1 note2

4. | tips 블록 tip1 tip2

5. | important

6. | caution

7. | warning