22  Chapter Page Template

Author

Your Name Here

Introduction goes here.

22.1 Section

First section. One sentence per line. Emphasis should be with italics via underscores

New paragraph through a line break above.

Lists can be rendered with hyphens as bullets, and 4 spaces for sub-bullets:

  • Bullet 1
  • Bullet 2
    • Sub-bullet 1
    • Sub-bullet 2
  • Bullet 3

22.1.1 Sub section

Here is an example of a code block. The line before must end in a full stop.

echo "Hello world!"

The code block above has bash as the code identifier. Inline text should only be used for single commands, file extensions, or paths, i.e., not whole commands.

Large or long running code should be set to eval false, and pre-made output placed in a collapsible block.

echo "SPAAM rules!"
SPAAM rules!

22.2 Second section

Here is an example of a figure. It must have a caption, and a label for referencing in text.

Figure 22.1: The figure caption goes here

The label must be prefixed with fig-<chaptername>-<figureidentifier> and should be in lowercase.

22.3 Third section

Tables should also have a caption and a label for referencing in text.

Table 22.1: Demonstration of pipe table syntax
Default Left Right Center
12 12 12 12
123 123 123 123
1 1 1 1

22.3.1 Third sub section

Warning

This is a call out block with a warning style.

Note that we reserve some callout formatting styles for specific objects!

For example the end of every section should have a task or question with a hidden answer.

Question

Your question(s) goes here.

The answer(s) goes here, in a by-default ‘hidden’ block the reader can open to view.

22.4 Summary

Please refer to Chapter Writing Guidelines for the full list of guidelines.

Citations come from the associated .bib file, and are referenced in the text like this (Fellows Yates and Warinner 2024). References are automatically rendered for you at the end of the chapter.

22.5 References

Fellows Yates, James A, and Christina Warinner. 2024. “Introduction to Ancient Metagenomics.” https://www.spaam-community.org/intro-to-ancient-metagenomics-book/.