Path: blob/master/_contributing/example_tutorial.md
696 views
---
---
Descriptive Headline
💬 This document contains general style guide for hands-on tutorials and exercises.
The prerequisites/learning outcomes: Sometimes there are many, but list if there's something essential but not obvious.
Use numbered list to describe actual steps that a student does
Try to get the code block indented nicely in the rendered product
Get started
💬 This is the first phase of this tutorial e.g. a preparation.
💡 It is recommended to structure the content with second level headlines.
A code block can contain multiple lines
{:style="counter-reset:step-counter 2"} 3. A step does not need to contain a code block, but instead make a point that student should notify - Further explanation can be provided with indented list element
☝🏻 A list element cannot start with indented block
Meaning that it starts after regular text like this
1. Further structuring
Feel free to add more headlines if it supports the understandability of the content
The goal is to reduce the effort in following the material
Usage of Emojis
💡 The emojis are meant to structure text and to improve its readability.
Look for the symbols-option from your computer
Usually the emojis are there.
Copy the existing emojis if you don't find them anywhere else
Emoji | Purpose |
---|---|
💬 | General instructions or description |
💭 | Provide extra information or insight |
🗯 | Emphasise the message a bit |
💡 | Valuable information, ideas or suggestions |
☝🏻 | Notice or a side-note |
‼️ | Very important notice. Failing to comply with this will result in error of some kind |
Usage of images
Add images to the
/_slides/img/
-folderOr in the respective section folders under
/part-1
and/part-2
Provide the path like this:

The image should show like this:
Providing batch job files
💬 Batch job files are scripts for Slurm queueing system used in CSC supercomputers.
Provide necessary job-files commented like this:
💭 For more information on batch jobs, please see Docs CSC pages.
More information
💡 It is a good practice to provide more information on topics, but it is not mandatory.
💬 This tutorial is meant as a brief introduction to get you started.
💭 When searching the internet for instructions, pay attention that the instructions are for the same version of Apptainer that you are using. There have been some command syntax changes etc. between the versions, so older instructions may not work with copy-paste.
💡 Always a good idea to link to Docs CSC.
About Markdown
📝 Ordered lists reset numbering if there's stuff in between. Options:
Manually reset counter if needed with {:style="counter-reset:step-counter 2"}
Indent code blocks, and make sure they appear directly "under" the list item, and the numbering goes on nicely