Last active
October 7, 2020 16:10
-
-
Save pepijnve/8f0e5c2a399c0e1fe1f2ea06b230427a to your computer and use it in GitHub Desktop.
Asciidoc Pikchr example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= Doc Title | |
This is an example of embedding Pikchr in asciidoc with live preview | |
.A silly little Pikchr diagram | |
[pikchr] | |
---- | |
arrow | |
box "foo" | |
down | |
arrow | |
box "bar" | |
---- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This renders as follows in the IntelliJ Asciidoc plugin
![correct diagram rendering](https://user-images.githubusercontent.com/225326/95357536-44760a00-08c8-11eb-89cb-a649a594b2f2.png)
And in case of syntax errors you get
![syntax error rendering](https://user-images.githubusercontent.com/225326/95357542-463fcd80-08c8-11eb-931f-dcfc4c23ec20.png)