Skip to content

Commit

Permalink
Add a TikZ example for asciidoctor-diagram test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeag committed Oct 5, 2024
1 parent a1bfd2b commit 8eb7c3e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/fixtures/sample-with-diagram.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,18 @@ A31117013206375A
....
Hello World!
....

=== TikZ
https://tikz.net/

[tikz]
....
\begin{tikzpicture}
\draw (-2,0) -- (2,0);
\filldraw [gray] (0,0) circle (2pt);
\draw (-2,-2) .. controls (0,0) .. (2,-2);
\draw (-2,2) .. controls (-1,0) and (1,0) .. (2,2);
\end{tikzpicture}
....

0 comments on commit 8eb7c3e

Please sign in to comment.