Replies: 2 comments 20 replies
-
Yeah, this is the markdown syntax for a line break :/
render like this in markdown
Doing two line break instead of ' ' would generate a paragraphe, which is different from a normal line break. Hum maybe I could add a custom balise like |
Beta Was this translation helpful? Give feedback.
-
Ok, I see. The mermaid commands are being seen as a text string and the double space is used to maintain the line breaks. DD would need a tag or delimiter to know that it is not a simple text string. Can the ::: ( and I've seen ```) used at the beginning and end of the mermaid diagram markup be used to signal to DD that it should be handled raw? |
Beta Was this translation helpful? Give feedback.
-
I am having trouble getting a mermaid diagram in the xml comments to render on Azure DevOps. DevOps does not seem to like that the subgraph end of line has two spaces after it.
ex.:
::: mermaid
graph TD
A((Start))-->B
B-->A0
subgraph mySubgraph
A0{?}
A0-- Yes-->A1
A1-->C
A0-- No -->B0
B0-->C
end
W-->X((end))
:::
After "mySubgraph" there are two spaces which cause DevOps' mermaid engine to error. The generated xml comments file does not have spaces after "mySubgraph". Is this something DefaultDocumentation is putting in?
Beta Was this translation helpful? Give feedback.
All reactions