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
Hi,
We use Madcap Flare for our documentation and have been experimenting with Mermaid charts within a topic, and are impressed with the results :-)
We have come across one problem. Flare has the ability to use variables and snippets within it's syntax.
So, as an example, if we are using our product name "COINS" within the text, it would be written as
Our software is called <MadCap:variable name="General.ProductName" />
The <MadCap:variable name="General.ProductName" /> part is replaced with "COINS" when we display the topic. If we ever change our software name, we change the variable, and all text across our product switches from "COINS" to the new value.
On a node in Mermaid, we would like to use this so that the node text can contain a variable, but the render does not like it.
We tried encapsulating the variable in "" and replacing the double quotes within the variable to #quot; but that just reproduces the variable code verbatim and does not display COINS as the text.
I appreciate this not a bug in mermaid, but we would like to be able to reference the Flare assets within Mermaid charts. Is this feasible?
Example: Here is a mermaid diagram: <div class="mermaid"> graph LR; A-->B; B-->C; C-->D(<MadCap:snippetText src="../Resources/Button Snippets/Button_Add.flsnp" />;) click A callback "Tooltip" click B "http://www.github.com" "This is a link" click C call callback() "Tooltip" click D href "http://www.github.com" "This is a link" </div><
The text was updated successfully, but these errors were encountered:
Hi,
We use Madcap Flare for our documentation and have been experimenting with Mermaid charts within a topic, and are impressed with the results :-)
We have come across one problem. Flare has the ability to use variables and snippets within it's syntax.
So, as an example, if we are using our product name "COINS" within the text, it would be written as
Our software is called <MadCap:variable name="General.ProductName" />
The <MadCap:variable name="General.ProductName" /> part is replaced with "COINS" when we display the topic. If we ever change our software name, we change the variable, and all text across our product switches from "COINS" to the new value.
On a node in Mermaid, we would like to use this so that the node text can contain a variable, but the render does not like it.
We tried encapsulating the variable in "" and replacing the double quotes within the variable to #quot; but that just reproduces the variable code verbatim and does not display COINS as the text.
I appreciate this not a bug in mermaid, but we would like to be able to reference the Flare assets within Mermaid charts. Is this feasible?
Example:
Here is a mermaid diagram: <div class="mermaid"> graph LR; A-->B; B-->C; C-->D(<MadCap:snippetText src="../Resources/Button Snippets/Button_Add.flsnp" />;) click A callback "Tooltip" click B "http://www.github.com" "This is a link" click C call callback() "Tooltip" click D href "http://www.github.com" "This is a link" </div><
The text was updated successfully, but these errors were encountered: