File: /www/wwwroot/aiwellbore.com/wp-content/plugins/wp-githuber-md/src/Views/example/mermaid.php
<?php
if ( ! defined('GITHUBER_PLUGIN_NAME') ) die;
/**
* View for Controller/Setting
*
* @author Terry Lin
* @link https://terryl.in/
*
* @package Githuber
* @since 1.2.0
* @version 1.3.0
*/
?>
<pre class="prettyprint setting-example">
<code class="language-markdown">
```mermaid
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts<br/>prevail...
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
</code>
</pre>
<p class="description"><?php echo __( 'Block identification code:', 'wp-githuber-md' ); ?> <span class="example-tag">mermaid</span></p>
<p class="description"><?php echo __( 'The Markdown text above will be rendered to:', 'wp-githuber-md' ); ?></p>
<pre class="setting-example"><img src="<?= GITHUBER_PLUGIN_URL ?>assets/images/demo_mermaid.gif"></pre>