File: advanced.rst

package info (click to toggle)
hovercraft 2.7-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,596 kB
  • sloc: javascript: 3,206; python: 2,606; makefile: 153; sh: 2
file content (67 lines) | stat: -rw-r--r-- 1,150 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
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
.. title:: Presentation title

:data-transition-duration: 2000
:auto-console: True
:css-screen: extra.css
:js-body: extra.js


This is an advanced presentation. It doesn't have a section in the first
step, meaning the first step will not be a step at all, but a sort of
introductory comment about the presentation, that will not show up in the
presentation at all.

It also sets a title and a transition-duration.

----

:data-x: 1000
:data-y: 1600

Advanced Presentation
=====================

Here we show the positioning feature, where we can explicitly set a position
on one of the steps.

----

:id: name-this-step
:data-x: r1600

Formatting
==========

Let us also try some basic formatting, like *italic*, and **bold**.

* We can also
* have a list
* of things.

----

There should also be possible to have
preformatted text for code.

.. code:: python

    def foo(bar):
        # Comment
        a = 1 + "hubbub"
        return None


----

An image, with attributes:

.. image:: images/hovercraft_logo.png
    :class: imageclass
    :width: 50%

----

Character sets
==============

The character set is UTF-8 as of now. Like this: åäö.