You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to programmatically create D2 diagrams, using d2oracle package.
But when calling d2oracle.Set to add Markdown labels, it always inserts the Markdown as a regular, quoted string:
value := `|md
# MyTitle
testing this markdown syntax
`
graph, _ = d2oracle.Set(graph, nil, "mykey.label", nil, &value)
Can I work around this in an intuitive way, or did I miss something?
Thanks for creating D2!
The text was updated successfully, but these errors were encountered:
I am trying to programmatically create D2 diagrams, using d2oracle package.
But when calling d2oracle.Set to add Markdown labels, it always inserts the Markdown as a regular, quoted string:
Can I work around this in an intuitive way, or did I miss something?
Thanks for creating D2!
The text was updated successfully, but these errors were encountered: