File: reference.md

package info (click to toggle)
python-sphinx-examples 0.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 152 kB
  • sloc: python: 127; makefile: 22
file content (31 lines) | stat: -rw-r--r-- 595 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Reference examples

The following examples show off the look and feel of this extension.
They also serve as an informal test-suite - none of them should result in problematic output or warnings.

As we discover edge-cases and bugs, add new examples below to confirm they work once fixed.

## `{card}` directive

````{example} Card directive with a header should be properly parsed.

```{card}
:class-header: bg-light
A note!
^^^
:::{note}
Here's a sample note!
:::
```

````

## Colon fence

````{example} Example with colon fence should not result in kwarg error

:::{note}
A note!
:::

````