Skip to content

Commit 8955083

Browse files
committed
Add a math label and equation link link
1 parent 78ed095 commit 8955083

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

demo_docs/source/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,16 @@ This is a test. Here is an equation:
4141
Here is another:
4242

4343
.. math::
44+
:label: This is a label
4445
4546
\nabla^2 f =
4647
\frac{1}{r^2} \frac{\partial}{\partial r}
4748
\left( r^2 \frac{\partial f}{\partial r} \right) +
4849
\frac{1}{r^2 \sin \theta} \frac{\partial f}{\partial \theta}
4950
\left( \sin \theta \, \frac{\partial f}{\partial \theta} \right) +
5051
\frac{1}{r^2 \sin^2\theta} \frac{\partial^2 f}{\partial \phi^2}
52+
53+
You can add a link to equations like the one above :eq:`This is a label` by using ``:eq:``.
5154

5255
Tables
5356
======

0 commit comments

Comments
 (0)