Section

문서개요

This document has a header that specifies the Section.
This document is about the section.

1. 섹션

  • HTML 출력에서 섹션 제목은 제목 태그로 표시됩니다.

  • 제목 태그의 번호는 섹션 수준보다 하나 더 많습니다(예: 섹션 수준 1은 h2 태그가 됨).

  • 섹션 수준 범위는 0-5입니다. 이 제한은 주로 HTML이 h1에서 h6까지의 제목 태그만 제공한다는 사실(수준 5를 상한으로 만듦)로 인해 설정되었습니다.

1.1. 기본

= 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
  • 결과

1. Level 1 Section Title

1.1. Level 2 Section Title

1.1.1. Level 3 Section Title

1.1.1.1. Level 4 Section Title
1.1.1.1.1. Level 5 Section Title

2. Another Level 1 Section Title

1.2. 카운터 활용

  • 카운터를 사용하는 경우 목록, 테이블 열 또는 산문에서 시퀀스를 만드는 것과 같은 가장 기본적인 사용 사례에만 사용

  • 속성 참조를 사용하여 카운터를 선언하고 표시({counter:name})합니다.

카운터를 사용하여 ID(즉, 참조) 또는 참조 텍스트를 작성해서는 안 됩니다.
The salad calls for {counter:seq1}) apples, {counter:seq1}) oranges and {counter:seq1}) pears.
  • 결과

The salad calls for 1) apples, 2) oranges and 3) pears.

1.2.1. 섹션 제목에 카운터 값을 사용

먼저 속성 참조를 사용하여 카운터 값을 정의해야 합니다.

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

The sequence in this section is {seq1}.

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

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

1. Section 1

The sequence in this section is 1.

2. Section 2

The sequence in this section is 2.

1.2.2. 문자 시퀀스 사용

// 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}.
  • 결과

1. Section A

The sequence in this section is A.
If you want to see Section 1

2. Section B

The sequence in this section is B.