Cross referencing equation, output format html

I have the following .Rmd file, which includes a cross reference to an equation, but seems not to work.
I am currently using the Rstudio cloud application, but I think it doesn't make any difference whether it is locally or online.

---
title: "Nice Title"
author: "Me"
output: html_document
---
Lorem Ipsum
\begin{equation} \label{eq:1}
\sum_{i=0}^{\infty} a_i x^i
\end{equation}

The equation \ref{eq:1} is a typical power series.

When the output format is pdf, the equation is cross referenced fine.
Is the syntax different when working with different output formats?
Thanks a lot!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.