Add subsections for references with 2+ examples.

This commit is contained in:
Rodrigo Girão Serrão
2023-01-09 13:50:45 +00:00
parent 71b859b6e2
commit dd6e73aa39
14 changed files with 103 additions and 4 deletions

View File

@@ -34,6 +34,8 @@ Alternatively, margin can be set for each edge individually through the rules `m
## Examples
### Basic usage
In the example below we add a large margin to a label, which makes it move away from the top-left corner of the screen.
=== "Output"
@@ -53,6 +55,8 @@ In the example below we add a large margin to a label, which makes it move away
--8<-- "docs/examples/styles/margin.css"
```
### All margin settings
The next example shows a grid.
In each cell, we have a placeholder that has its margins set in different ways.