Session Title
Objectives
- Objective 1
- Objective 2
Setup
Description of something participants need to setup, primarily used at the beginning of a section but can also be used for tasks like setting up an Rproject
file, folder structure, etc.
Main Section 1
Your main section(s) can (and probably should) be boken down into subsections.
Subsection 1
Subsection 2
Done!
This last header let’s students know that they are done with the main material for the day. It should also include a link to the solutions (hosted on github). For example:
Make sure this link references the main.
Going Further
After your main content is done you should have a section called called “Going Further” for students who finish the main content early. It should include: 1. A mention of one or two satellite sessions that would be relevant extensions of the current material 2. A section with “extra exercise questions” (these don’t need to use the “action blocks” (see below) and can just be a number list as shown below.
Extra Exercises
- Do this.
- Then do that.
Markdown Reminders
The rest of this document is a reminder on qmd syntax and a basic style guide. Enjoy.
Text Formatting
Italic and Bold will turn out like this
Block quotes will look like this:
This is a
blockquote
made using>
- Tooltips can be done using spans (please do not use asides or footnotes)
Code
Inline coding will turn out like this
Code blocks will appear like this:
# comment
print('hello world')
Warning: For these tutorials, code blocks are not evaluated by default. If you want to evaluate them, you must indicate it specifically.
# comment
print('hello back!')
[1] "hello back!"
<- function(x) {
test if (x > 1) {
return(x)
else {
} print('nothing to see here')
} }
Note. We are no longer using solution blocks, instead a single code file will be available at the end of each session contiaining code that runs through all the exercises.
Callouts
IMPORTANT: please do not use callouts not explicitly defined here; they have not been included in the css and therefore will not render well in the final document.
This is a callout using {.callout-note}
Comment about a genral tip / trick or best practice.
Warning / comment on something really important.
Action Boxes
These are used for things participants are expected to actually do, ie: exercises. They are split into three categories.
Description of something participants need to setup, primarily used at the beginning of a section but can also be used for tasks like setting up an Rproject
file, folder structure, etc.
Description of something participants should observe, investigate, etc.
Description of a coding exercise that participants are expected to complete.
Tabsets
Content that will show under the first tab
Content that will show under the second tab
Content that will show under the third tab
Images
You can insert images by referring to their relative path using markdown syntax or HTML. Note that the markdown syntax does not allow you to modify image size. In either case, make sure to add alt text for accessibility.
Markdown style syntax:
HTML style syntax (with specification of desired size):
Linking to Other Pages
Easy, use relative paths within a standard href, ie: link to home page.