Cross Reference
Reference any numbered component from any page using <Ref id="..." />. All math components (Theorem, Definition, Figure, Table, Code, Ref, etc.) are available globally — no import needed.
Same-Page References
Use [](#id) to link to a component on the same page. The link text auto-fills with the correct label and number.
Syntax:
See [](#def-convex) and [](#eq-cross-entropy).
Cross-Page References
Use <Ref id="..." /> to link to components on other pages. It resolves the correct page URL and label automatically.
Math
| Syntax | Result | Type | Source Page |
|---|---|---|---|
<Ref id="def-convex" /> | Definition | Math | |
<Ref id="thm-jensen" /> | Theorem | Math | |
<Ref id="eq-cross-entropy" /> | Equation | Math | |
<Ref id="eq-softmax" /> | Equation | Math |
Figure and Table
Code
| Syntax | Result | Type | Source Page |
|---|---|---|---|
<Ref id="code-transformer" /> | Code | Code | |
<Ref id="code-train-step" /> | Code | Code | |
<Ref id="alg-sgd" /> | Algorithm | Code |
Each link points to the correct page and scrolls to the target element.