section.adoc 2.9 KB
Newer Older
heywon.choi's avatar
heywon.choi committed
1
= Section
heywon.choi's avatar
heywon.choi committed
2
Gildong Hong <email1@bwg.com>
heywon.choi's avatar
heywon.choi committed
3
:description: The document's description. This document is about the section sample.
heywon.choi's avatar
heywon.choi committed
4 5
include::../attributes/common_attrs.adoc[]
include::../attributes/dir_attrs.adoc[]
heywon.choi's avatar
heywon.choi committed
6 7 8 9 10 11 12 13

[abstract]
.문서개요
--
This document has a header that specifies the {doctitle}.
This document is about the section.
--

heywon.choi's avatar
heywon.choi committed
14 15 16 17
== 섹션
* HTML 출력에서 섹션 제목은 제목 태그로 표시됩니다.
* 제목 태그의 번호는 섹션 수준보다 하나 더 많습니다(예: 섹션 수준 1은 h2 태그가 됨).
* 섹션 수준 범위는 0-5입니다. 이 제한은 주로 HTML이 h1에서 h6까지의 제목 태그만 제공한다는 사실(수준 5를 상한으로 만듦)로 인해 설정되었습니다.
heywon.choi's avatar
heywon.choi committed
18

heywon.choi's avatar
heywon.choi committed
19 20 21
=== 기본
----
= Document Title (Level 0)
heywon.choi's avatar
heywon.choi committed
22

heywon.choi's avatar
heywon.choi committed
23
== Level 1 Section Title
heywon.choi's avatar
heywon.choi committed
24 25 26 27 28 29 30 31

=== Level 2 Section Title

==== Level 3 Section Title

===== Level 4 Section Title

====== Level 5 Section Title
heywon.choi's avatar
heywon.choi committed
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

== Another Level 1 Section Title
----
* 결과

[cols="1a"]
|===
= Document Title (Level 0)

== Level 1 Section Title

=== Level 2 Section Title

==== Level 3 Section Title

===== Level 4 Section Title
heywon.choi's avatar
heywon.choi committed
48 49 50

====== Level 5 Section Title

heywon.choi's avatar
heywon.choi committed
51 52 53 54 55 56
== Another Level 1 Section Title
|===

=== 카운터 활용
* 카운터를 사용하는 경우 목록, 테이블 열 또는 산문에서 시퀀스를 만드는 것과 같은 가장 기본적인 사용 사례에만 사용
* 속성 참조를 사용하여 카운터를 선언하고 표시(pass:[{counter:name}])합니다.
heywon.choi's avatar
heywon.choi committed
57 58

CAUTION: 카운터를 사용하여 ID(즉, 참조) 또는 참조 텍스트를 작성해서는 안 됩니다.
heywon.choi's avatar
heywon.choi committed
59 60 61 62 63 64 65 66 67 68 69 70
----
The salad calls for {counter:seq1}) apples, {counter:seq1}) oranges and {counter:seq1}) pears.
----
* 결과

====
The salad calls for {counter:seq1}) apples, {counter:seq1}) oranges and {counter:seq1}) pears.
====

==== 섹션 제목에 카운터 값을 사용
먼저 속성 참조를 사용하여 카운터 값을 정의해야 합니다.
----
heywon.choi's avatar
heywon.choi committed
71 72 73 74 75
:seq1: {counter:seq1}
== Section {seq1}

The sequence in this section is {seq1}.

heywon.choi's avatar
heywon.choi committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
:seq1: {counter:seq1}
== Section {seq1}

The sequence in this section is {seq1}.
----
* 결과

[cols="1a"]
|===
:seq1: {counter:seq1}
== Section {seq1}

The sequence in this section is {seq1}.

:seq1: {counter:seq1}
== Section {seq1}

The sequence in this section is {seq1}.
|===

==== 문자 시퀀스 사용
----
heywon.choi's avatar
heywon.choi committed
98 99 100 101 102 103 104 105 106 107 108 109 110
// To create a character sequence.
:seq_A: {counter:seq_A:A}
== Section {seq_A}

The sequence in this section is {seq_A}.
// 대상 섹션의 ID를 사용한 상호 참조
If you want to see <<_section_1, Section 1>>


:seq_A: {counter:seq_A}
== Section {seq_A}

The sequence in this section is {seq_A}.
heywon.choi's avatar
heywon.choi committed
111 112 113
----

* 결과
heywon.choi's avatar
heywon.choi committed
114

heywon.choi's avatar
heywon.choi committed
115 116 117 118 119
[cols="1a"]
|===
// To create a character sequence.
:seq_A: {counter:seq_A:A}
== Section {seq_A}
heywon.choi's avatar
heywon.choi committed
120

heywon.choi's avatar
heywon.choi committed
121 122 123
The sequence in this section is {seq_A}.
// 대상 섹션의 ID를 사용한 상호 참조
If you want to see <<_section_1, Section 1>>
heywon.choi's avatar
heywon.choi committed
124 125


heywon.choi's avatar
heywon.choi committed
126 127
:seq_A: {counter:seq_A}
== Section {seq_A}
heywon.choi's avatar
heywon.choi committed
128

heywon.choi's avatar
heywon.choi committed
129 130
The sequence in this section is {seq_A}.
|===