-
Notifications
You must be signed in to change notification settings - Fork 11
Lightning examples
In the following some quick and dirty examples are reported. The examples may contain advanced features that are documented in other wiki pages: for now do not worry about them.
Open with your preferred text editor a file name first_talk.md and type:
---metadata
title = First Dirty Example
authors = ['John Doe']
---endmetadata
---theme_slide_content
background = white
border-radius = 5%
padding = 8%
---endtheme_slide_content
### My first slide
$slidetitle[font-size:220%]
Hello guys, this is your first step into the **MaTiSSe.py** world!
My name is $authors[font-size:200%]
The title of this talk is
$title[font-size:220%;color:orange]Save and give it to MaTiSSe.py:
MaTiSSe.py -i first_talk.mdVisualize the generated HTML presentation with your preferred browser:
chromium first_talk/index.htmlYou should see something similar to

Very simple, are you agree with me?
In this first dirty example you have seen some features:
- a MaTiSSe.py presentation has its own metadata (title, subtitle, authors, etc...) that can be easily defined and used through the presentation, e.g. see the use of
$slidetitle; - the theme of a MaTisse.py presentation can be easily customized, e.g. see the definition of the slide content theme
---theme_slide_content...: it is very easy to inject any valid CSS style options for customizing your theme; - a slide is easily created by defining a H3 heading
### Slide Title; - text styling (bold, italic, etc...) is easy by the easy-to-write markdown syntax, e.g. the bold-styled MaTiSSe.py is obtained by
**MaTiSSe.py**.
More details on the above features can be found into the specific wiki pages.
Now, let us complicate the scenario. We want to create a more structured presentation with sections partitioning.
Open with your preferred text editor a file name second_talk.md and type:
---metadata
title = Second Dirty Example
authors = ['John Doe']
---endmetadata
---theme_slide_content
background = white
border-radius = 5%
padding = 8%
---endtheme_slide_content
# First Section
### The first slide of first section
$slidetitle[font-size:220%]
Hello guys, this is your first **structured** talk!
My name is $authors[font-size:200%]
The title of this talk is
$title[font-size:220%;color:orange]
Use **right-arrow** to go to the second slide
# Second Section
### The first slide of second section
$slidetitle[font-size:220%]
Use **left-arrow** to come back to the first slide Save and give it to MaTiSSe.py:
MaTiSSe.py -i second_talk.mdVisualize the generated HTML presentation with your preferred browser:
chromium second_talk/index.htmlYou should see something similar to

Home | About | Getting Started Guide | Usage | Copyright © 2014 szaghi