Text Formatting
This document has a header that specifies the Text Formatting.
This document is about the text formatting.
1. 굵게 (*)
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.
2. 기울임체 (_)
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.
3. 고정 폭 (`)
"`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!
4. 강조 표시 (#)
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.
5. 스타일 구문 ([.]#)
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.
5.1. 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’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’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.
6. 아래 첨자 (~), 위 첨자 (^)
"`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.
8. 권고 레이블
-
레이블은 대문자여야 함.
-
단락일 경우
-
레이블 바로 뒤에 콜론(:)이 온다.
-
단락의 첫 번째 줄을 레이블에서 한 칸으로 구분
-
-
블록일 경우
-
속성 목록([ ])에서 레이블을 설정
-
일반적으로 예제 블록(====)에 설정
-
-
종류
소스 | 결과 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
. {blank} + NOTE: 단락 note1 note2 . {blank} + [TIP] .tips ==== * 블록 * tip1 * tip2 ==== . {blank} + IMPORTANT: important . {blank} + CAUTION: caution . {blank} + WARNING: warning |
|