webappdevelp / hexo-filter-mermaid-diagrams

mermaid diagrams for hexo
86 stars 27 forks source link

It's not working on hexo ? #6

Open Jiangluyu opened 4 years ago

Jiangluyu commented 4 years ago

I've followed the steps, and after that, I was able to see the code after hexo generate

<script src="https://unpkg.com/mermaid@7.1.2/dist/mermaid.min.js"></script>
<script>
if (window.mermaid) {
  mermaid.initialize({theme: 'forest'});
}
</script>

but in localhost I could not see the graph correctly... I was wondering if this plugin is still working?