emersonbottero / vitepress-plugin-mermaid

Add mermaid support for Vitepress
MIT License
87 stars 20 forks source link

cleanup: remove leftover `sum` function #68

Open dmohns opened 3 months ago

dmohns commented 3 months ago

Hey 👋

First of all, thanks for this amazing library.

While exploring the internals of the library I noticed some seemingly unused code. Looks like the sum function was stopped to be used here: https://github.com/emersonbottero/vitepress-plugin-mermaid/commit/c5ce27731a3489e9ace43b9add9711c732b5beb9#diff-37fcb5ba09c359bc9b98f4d680b4d8192b8aa33fdf237dd75d02c66b4ecb0b19

If there is a reason for the code to be still carried around, please ignore this PR 🚀