= Text Formatting
Gildong Hong <email1@bwg.com>
:description: The document's description. This document is about the text formatting.
include::./attributes/common_attrs.adoc[]
include::./attributes/dir_attrs.adoc[]

[abstract]
.문서개요
--
This document has a header that specifies the {doctitle}.
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 c**hara**cter**s** 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 c__hara__cter__s__ 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=mc^2^`; 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, auto##ma##tion is essential.
====

== 스타일 구문 ([.]#)
----
Do werewolves believe in [.small]#small print#?
[.big]##O##nce upon an infinite loop.
----
====
Do werewolves believe in [.small]#small print#?
[.big]##O##nce 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 [.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.
====

== 아래 첨자 (~), 위 첨자 (^)
----
"`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 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.
====

== 밑줄
----
The text pass:[<u>underline me</u>] is underlined.
----
====
The text pass:[<u>underline me</u>] is underlined.
====

== 권고 레이블
* 레이블은 대문자여야 함.
* 단락일 경우 
** 레이블 바로 뒤에 콜론(:)이 온다.
** 단락의 첫 번째 줄을 레이블에서 한 칸으로 구분
* 블록일 경우
** 속성 목록([ ])에서 레이블을 설정
** 일반적으로 예제 블록(====)에 설정
* 종류
[cols="2*"]
|===
|소스 |결과

a|
....
. {blank}
+
NOTE: 단락 
      note1
      note2

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

. {blank}
+
IMPORTANT: important

. {blank}
+
CAUTION: caution

. {blank}
+
WARNING: warning
....

a|
. {blank}
+
NOTE: 단락 
      note1
      note2

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

. {blank}
+
IMPORTANT: important

. {blank}
+
CAUTION: caution

. {blank}
+
WARNING: warning
|===


NOTE: 단락 
      note1
      note2

. {blank}
+
NOTE: 단락 
      note1
      note2

. {blank}
+
note2

. {blank}
+
NOTE: 단락 
      note1
      note2

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

. {blank}
+
IMPORTANT: important

. {blank}
+
CAUTION: caution

. {blank}
+
WARNING: warning