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

heywon.choi's avatar
heywon.choi committed
8
include::../attributes/highlighter.adoc[]
heywon.choi's avatar
heywon.choi committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133

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

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

=== 기본
----
= Document Title (Level 0)

== Level 1 Section Title

=== Level 2 Section Title

==== Level 3 Section Title

===== Level 4 Section Title

====== Level 5 Section Title

== 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

====== Level 5 Section Title

== Another Level 1 Section Title
|===

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

CAUTION: 카운터를 사용하여 ID(즉, 참조) 또는 참조 텍스트를 작성해서는 안 됩니다.
----
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.
====

==== 섹션 제목에 카운터 값을 사용
먼저 속성 참조를 사용하여 카운터 값을 정의해야 합니다.
----
:seq1: {counter:seq1}
== Section {seq1}

The sequence in this section is {seq1}.

: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}.
|===

==== 문자 시퀀스 사용
----
// 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}.
----

* 결과

[cols="1a"]
|===
// 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}.
|===