Skip to content

Commit

Permalink
docs: use myst directive with proofs
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Feb 27, 2025
1 parent 0ca2c67 commit 644df26
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions docs/proofs-and-theorems.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,8 @@ The vector $\hat y$ is called the **orthogonal projection** of $y$ onto $S$.
- `prf:theorem`
-
```

The following options for proof directives are supported:

- `label`: text

A unique identifier for your theorem that you can use to reference it with a Markdown link or the {myst:role}`prf:ref` role. Cannot contain spaces or special characters.

- `class`: text

Value of the theorem’s class attribute which can be used to add custom CSS or JavaScript. This can also be the optional `dropdown` class to initially hide the proof.

- `nonumber`: flag (empty)

Turns off auto numbering.
:::{myst:directive} proof
:::

## Referencing Proofs

Expand Down

0 comments on commit 644df26

Please # to comment.