Hello, I am having two problems with diagram converting a tikz figure within a quarto document:
- The font of the html output is too small (but is of normal size in pdf output)
- The reference does not work for both html and pdf output
Here is a MWE:
---
title: "A tikz diagram extension test"
filters:
- diagram
---
## Test section
Hello, please see \ref{fig-delta} and @fig-delta
```tikz
%%| label: fig-delta
%%| caption: A test
\begin{tikzpicture}
\node (a) at (0, 0) {a};
\node (b) at (2, 0) {b};
\draw (a) -- (b);
\end{tikzpicture}
```
And here is the output (I am using firefox)
