Tiramisu Docs

Content

Layout

Arrange content with multi-column layouts and demo preview containers in Tiramisu Docs.

Components for arranging content on the page.

Columns

Place content side by side:

tiramisu
columns {
  col { This is the left column. },
  col { This is the right column. }
}
Preview
This is the left column with some content.
This is the right column with different content.

You can use any content inside columns, including code blocks, lists, and other components.

Demo

The demo component renders content in a preview container:

tiramisu
demo { title = Preview,
  callout { type = success, This renders inside a demo container. }
}
Preview

Demos are useful for showing how components look alongside their source code.