From ea7211eb93097b3007c448dd961de8a7a4858483 Mon Sep 17 00:00:00 2001 From: Shvier Date: Mon, 7 Oct 2024 21:27:34 -0400 Subject: [PATCH] fix mermaid syntax --- content/docs/gadgets/circuit.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/content/docs/gadgets/circuit.md b/content/docs/gadgets/circuit.md index c285559..8387e33 100644 --- a/content/docs/gadgets/circuit.md +++ b/content/docs/gadgets/circuit.md @@ -19,14 +19,10 @@ This means that if $\mathsf{T}[3] = 0$, this is the circuit which must be satisf {{< mermaid >}} flowchart LR - - in0["In[0]"] & in1["In[1]"] **-->** id1((x)) - - t2["T[2]"] & id1 **-->** id2((x)) - - in2["In[2]"] & id2 **-->** id3((+)) - - id3 **-->** in3["In[3]"] + in0["In[0]"] & in1["In[1]"] --> id1((x)) + t2["T[2]"] & id1 --> id2((x)) + in2["In[2]"] & id2 --> id3((+)) + id3 --> in3["In[3]"] {{< /mermaid >}} @@ -35,16 +31,11 @@ And if $\mathsf{T}[3] = 1$, this is the circuit which must be satisfied: {{< mermaid >}} flowchart LR - - in0["In[0]"] & t0["T[0]"] **-->** id1((x)) - - in1["In[1]"] & t1["T[1]"] **-->** id2((x)) - - id1 & id2 **-->** id3((+)) - - in2["In[2]"] & id3 **-->** id4((+)) - - id4 **-->** in3["In[3]"] + in0["In[0]"] & t0["T[0]"] --> id1((x)) + in1["In[1]"] & t1["T[1]"] --> id2((x)) + id1 & id2 --> id3((+)) + in2["In[2]"] & id3 --> id4((+)) + id4 --> in3["In[3]"] {{< /mermaid >}}