In my markdown docs I have several formulas, which when previewing the markdown in ApiDog look correct.
However when I publish the doc site, they do not render correctly as forumala’s.
Is this a known bug?
Here is the markdown itself:
The time-weighted average premium index ( $\bar{P}$ ) is calculated over the funding period using the premium index series:
$\bar{P} = \frac{\sum_{t=1}^T (w_0 + \alpha t)P_t}{\sum_{t=1}^T (w_0 + \alpha t)}$
where $P_t$ denotes the t-th 1-minute observation of $P$, $w_t = w_0 + \alpha t$ is the weight for each observation (with $w_0$ being the starting weight and $\alpha$ being the scalar step increase), and T is the total number of 1-minute intervals within the 4-hour period.
$$
\displaystyle\text{clamp}(x,\text{min},\text{max}) =
\begin{cases}
\text{min}, & \text{if } x < \text{min} \
x, & \text{if } \text{min} \leq x \leq \text{max} \
\text{max}, & \text{if } x > \text{max}
\end{cases}
$$
Thanks