print('hello world')
Example Core Session
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 a classic html style: example
If relevant, you might also want to use a footnote1 instead of a tooltip.
Content can also go in the margin –>
Hi! I’m a side note!
- Finally, you can fold entire sections:
Surprise !
Code
Inline coding will turn out like this
Code blocks will appear like this:
Warning: For these tutorials, code blocks are not evaluated by default. If you want to evaluate them, you must indicate it specifically.
print('hello back!')
[1] "hello back!"
Additionally, solution code blocks are not included by default, including them is done by setting the solutions
parameter (in the YAML) to TRUE
when rendering.
print('hello back!')
[1] "hello back!"
Note, this website has code linking activated, so you can click on functions to get their documentation.
Callouts
Things are a bit quick and dirty at the moment. Ultimately I will make nice new classes in a full repicentre theme that can be used for exercised etc. For the moment we will just frankenstine some existing callouts.
This is a callout using {.callout-note}
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):
Footnotes
example footnote↩︎