For slightly more complicated situations, our contents
variable can
be an Array with a mixture of string (treated as Markdown) and Svelte components.
We can even pass props into the components by creating an object.
See the source code on GitHub
For even more complicated examples (requiring careful handling of state and bindable variables), we should use a Svelte file directly, as seen in this example