Permalink
Fetching contributors…
Cannot retrieve contributors at this time
155 lines (95 sloc) 2.56 KB
.. slideconf::
   :autoslides: True
   :theme: single-level

Hieroglyph Smoke Test

.. ifslides::

   .. figure:: /_static/hieroglyphs.jpg
      :class: fill

      CC BY-SA http://www.flickr.com/photos/tamburix/2900909093/

This is the Hieroglyph Smoke Test. It contains visual tests for verifying Hieroglyph functionality.

.. ifnotslides::

   This section should not be included in slides.

Bulleted Lists

  • First Point
  • Second Point
  • Third Point

Another notation:

  • First Point
  • Second Point
  • Third Point

Enumerated Lists

This list will be numbered:

  1. First Point
  2. Second Point
  3. Third Point

This list will be lettered:

  1. First Point
  2. Second Point
  3. Third Point

Nested Lists

  • First
  • Second
    • Sub Item 1
    • Sub Item 2

Code Highlighting

This block will be highlighted as Python:

def func(a):
    print 'The value of a is %(a)s' % locals()

This block will be highlighted as Javascript:

function func(a) {
    console.log('The value of a is ', a);
}

This block will not be highlighted:

def func(a):
    """I am not highlighted."""

Admonitions

The note admonition is used to create notes in the presenter console.

Note

This is a note admonition. It will not appear in the slides.

Warning

Warnings, however, stay where they belong.

Note

Notes can appear anywhere in the slide content.

Hieroglyph Features

The following slides test Hieroglyph features.

Incremental Slides

.. rst-class:: build

  • Adding the build class to a container
  • To incrementally show its contents
  • Remember that Sphinx maps the basic class directive to rst-class

Splitting Sections

The nextslide directive will split a single section into multiple slides.

.. nextslide::
   :increment:

The increment option tells Hieroglyph to add (2) (and subsequent indices) to the title.

.. only:: slides

   Only on slides, please

.. slide:: The ``slide`` Directive
   :level: 2

   In addition to headings, you can use the ``..slide::`` directive to
   define a slide.

   A recursive example::

     .. slide:: The ``slide`` Directive
        :level: 2

        In addition to headings, you can use the ``..slide::`` directive to
        define a slide.

        A recursive example:

.. slide:: Only a title here.

.. slide::

   This slide has only Content, no Title.