Block referencing works. I hoped for LaTeX compatibility (using \label{} and \ref{}). I expressed myself poorly.
For other people who have similar issue, use block referencing: in the note relativity
$$
E = m
$$
^einstein-relation
later referenced as [[relativity#^einstein-relation]]