pandoc-ext / diagram

Generate diagrams from embedded code; supports Mermaid, Dot/GraphViz, PlantUML, Asymptote, and TikZ.
MIT License
53 stars 9 forks source link

Issue when running quarto #17

Closed justsharan closed 2 months ago

justsharan commented 4 months ago

I installed diagram with the command (quarto install extension pandoc-ext/diagram), added

filters:
  - diagram

to one of the files in my book, and added this to the same file (with {.tikz} after the backticks):

\begin{tikzpicture}
    \draw (0,0) circle (1in);
\end{tikzpicture}

When I try to preview my book, I get this error:

image

Is there any way to fix it? When I looked up the error, I saw a similar issue in the main quarto repository here, but it didn't have a solution.

tarleb commented 2 months ago

Sorry for the late reply: I believe that this was fixed in c5ef7ab56292685c82d4a0575b1e48eb2d545f70, which I merged just now. Please reopen if the problem persists.