This guide will help you create new presentation with Suomi.fi brand guidelines. If you have some problem try consult other presentations. Here is guideline what you should follow when making presentation and after that more specific introductions to create new presentation and some tips what to use at Remark.
-
Presentation should start with one sentence (tittle) and end with "Thanks and questions?".
-
If you use pictures plan that they fit the slide. If they are too big and overflow, put that image to empty slide or try to re-crop image so only relevant information is shown.
-
Slide tittle has to always be one liner. This presentation doesn't support with "sininen-palkki" -style two line tittle.
-
There are 3 slide theme choises:
sininen-theme, which is used mostly to starting and ending pages.
sininen-palkki-theme, which is most common slide to use.
valkoinen-theme, is used for whole page pictures and diagrams. This is just with white background and dark color text.
These themes are used by adding in start of slide:
template: {theme-name} -
DO NOT CHANGE start of
presentation.md-file it is needed for templates to work. -
Don't end slide show to
---becouse it will start new slide.
-
Start by initialising presentation by running script:
./create-new-presentation.sh presentation-name
This will create new folder under koulutukset with name of presentation. After this you probably want to change "tittle" on browser in that presentation. This is done by editing
tittle-element in file:koulutukset/{presentation-name}/index.html. -
Now you can create presentation by editing file:
koulutukset/{presentation-name}/presentation.mdand you are done. -
You can test and see your presentation in browser by running simple python html server on your machine. Use in
koulutukset-folder either:- Python version 2:
python -m SimpleHTTPServer 8000 - Python version 3:
python -m http.server
And you can access your presentation in:
localhost:8000/{presentation-name} - Python version 2:
Here is some tips for using remark and how to get different kinda styles.
Here is few really simply slide examples. Slides should start with
---
template:{theme-name}
Example of starting slide:
---
template: header
# This is tittle of slide
Example of slide with agenda:
---
template: sininen-palkki
# Agenda:
1. Introductions
2. Example
3. Questions?
Example of slide with big image:
---
template: valkoinen

- All image CSS rules are in
koulutukset/image.css-file. - Resizing pictures happens with css, you would probably need to create more rules for that if those what are now choices don't do. Here we use image -element's alt -attribute to identify pictures.
And this is how you show images in markdown:
You can use columns also in presentation. This can be done by using this kinda syntax for example:
---
template: sininen-palkki
class: split-40
# Tittle for slide
.column[ All what you want to shown in left column goes here. ]
.column[ All what you want to shown in right column goes here. ]
In above example class:split-40 is css rule what is defined in ´koulutukset/column.css` -file and it will make first column to be 39% width and second column to be 59% width.
You can add new split rules to koulutukset/column.css -file.
Links are pretty simple. Just use syntax shown here.
[link-text](www.link.com)You can also you regular markdown code highlighting:
```javascript
function simple() {
return "Hello World";
}
```
``````
### Add item one by one
There was example of agenda before, what if you would like to add one item per click to slide. Here is way to do that:
```markdown
---
template: sininen-palkki
# Agenda:
1. Introductions
--
2. Example
--
3. Questions?
```
### If you want continue with same tittle than last slide
There is way to keep same title with few different slides if you don't want to write it (or picture in start). You will need add `layout: true` to start of slide and then first slide what you create will be "template" for nexts and after you are done you need to add slide after you want stop using layout, `layout: false` as in next example is shown.
```markdown
---
template: sininen-palkki
layout: true
# Agenda:
---
- Example
---
- Questions?
---
template: header
layout: false
# The end
```