-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Issue #158: Use section title (with sectnums)
- Loading branch information
Showing
5 changed files
with
72 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// .sections | ||
// Demonstration of section numbers and their specific reveal.js integration. | ||
// :include: //div[@class="slides"] | ||
// :header_footer: | ||
= Sectnums | ||
:backend: revealjs | ||
:sectnums: | ||
:sectnumlevels: 2 | ||
|
||
== First level | ||
|
||
First content | ||
|
||
== Vertical | ||
|
||
Vertical slides are using level 2 sections | ||
|
||
=== Level 2 | ||
|
||
==== Level 3 does not have sectnum, sectnumlevels is 2 | ||
|
||
== Horizontal slide | ||
|
||
=== Also supports levels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!-- .sections --> | ||
<div class="slides"> | ||
<section class="title" data-state="title"> | ||
<h1>Sectnums</h1> | ||
</section> | ||
<section id="_first_level"> | ||
<h2>1. First level</h2> | ||
<div class="paragraph"> | ||
<p>First content</p> | ||
</div> | ||
</section> | ||
<section> | ||
<section id="_vertical"> | ||
<h2>2. Vertical</h2> | ||
<div class="paragraph"> | ||
<p>Vertical slides are using level 2 sections</p> | ||
</div> | ||
</section> | ||
<section id="_level_2"> | ||
<h2>2.1. Level 2</h2> | ||
<h3>Level 3 does not have sectnum, sectnumlevels is 2</h3> | ||
</section> | ||
</section> | ||
<section> | ||
<section id="_horizontal_slide"> | ||
<h2>3. Horizontal slide</h2> | ||
</section> | ||
<section id="_also_supports_levels"> | ||
<h2>3.1. Also supports levels</h2> | ||
</section> | ||
</section> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters