Skip to content

Instantly share code, notes, and snippets.

@jgriff
Last active August 29, 2015 14:15
Show Gist options
  • Save jgriff/672cc7f116a8d4cea199 to your computer and use it in GitHub Desktop.
Save jgriff/672cc7f116a8d4cea199 to your computer and use it in GitHub Desktop.
asciidoctor-diagram graphviz substitutions not working
[graphviz]
[subs="attributes"]
----
digraph g {
{propA} -> {propB}
}
----
@jgriff
Copy link
Author

jgriff commented Feb 17, 2015

Where propA and propB are variable substitutions. This does work for the source filter (but not graphviz):

[source]
[subs="attributes"]
----
{propA} -> {propB}
----

What am I doing wrong?

@mojavelinux
Copy link

Perhaps file an issue with https://github.com/asciidoctor/asciidoctor-diagram to investigate. It may be that the custom diagram block is not honoring the substitutions hint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment