Unique name : Unique name of tabs block tag without comma. Will be used in #id's as prefix for each tab with their index numbers. If there are whitespaces in name, for generate #id all whitespaces will replaced by dashes. Only for current url of post/page must be unique! [index] : Index number of active tab. If not specified, first tab (1) will be selected. If index is -1, no tab will be selected. It's will be something like spoiler. Optional parameter. [Tab caption] : Caption of current tab. If not caption specified, unique name with tab index suffix will be used as caption of tab. If not caption specified, but specified icon, caption will empty. Optional parameter. [@icon] : FontAwesome icon name (without 'fa-' at the begining). Can be specified with or without space; e.g. 'Tab caption @icon' similar to 'Tab caption@icon'. Optional parameter.
{% mermaid sequenceDiagram %} Alice ->> Bob: Hello Bob ,how are you? Bob -->> John:How about you John? Bob--x Alice: I am good thanks! Bob-x John: I am good thanks! Note right of John: Bob thinks a long <br/>long time ,so long than the text does not fit on a row. Bob -->>Alice:Checking with John... Alice->>John: Yes... John,how are you? {% endmermaid %}
效果展示
sequenceDiagram
Alice ->> Bob: Hello Bob ,how are you?
Bob -->> John:How about you John?
Bob--x Alice: I am good thanks!
Bob-x John: I am good thanks!
Note right of John: Bob thinks a long <br/>long time ,so long than the<br/> text does not fit on a row.
Bob -->>Alice:Checking with John...
Alice->>John: Yes... John,how are you?