MermaidをCDNで使う

<head>
  <!-- Mermaid -->
  <script src="https://cdn.jsdelivr.net/npm/mermaid@10.8.0/dist/mermaid.min.js"></script>
  <script>
    mermaid.initialize({
        startOnLoad: true, 
        theme: 'defalt'
    });
  </script>
</head>

<!-- スキル・マップ -->
<?php include( STYLESHEETPATH . "/common/shortcode/skill_map.php" ); ?>
<div class="mermaid">
mindmap
  root((My Skills))
    Git
      Github
      GitLab
        GitLabCICD
          自動デプロイ
</div>