Skip to main content

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

SyntaxResultTypeSource Page
<Ref id="def-convex" />DefinitionMath
<Ref id="thm-jensen" />TheoremMath
<Ref id="eq-cross-entropy" />EquationMath
<Ref id="eq-softmax" />EquationMath

Figure and Table

SyntaxResultTypeSource Page
<Ref id="fig-agent-loop" />FigureFigure and Table
<Ref id="fig-retrieval" />FigureFigure and Table
<Ref id="tab-agent-types" />TableFigure and Table
<Ref id="tab-benchmarks" />TableFigure and Table

Code

SyntaxResultTypeSource Page
<Ref id="code-transformer" />CodeCode
<Ref id="code-train-step" />CodeCode
<Ref id="alg-sgd" />AlgorithmCode

Each link points to the correct page and scrolls to the target element.