arielsalminen / vue-design-system

An open source tool for building UI Design Systems with Vue.js
https://vueds.com
MIT License
2.17k stars 225 forks source link

Multiple code preview toggles not working #168

Open andywd7 opened 5 years ago

andywd7 commented 5 years ago

Hi,

I have included a MyButton.md file along side a MyButton.vue file and included a few code examples in it. The VUE|HTML toggle only renders for the first example.

Does this happen for just myself or is it a bug? Seems like a bug because it happens if I include multiple examples in a markdown file or Vue file?

Thanks

Andy

andywd7 commented 5 years ago

On coming back to this, it creates buttons for all the examples but places them all in the first example. I've had a go at trying to fix it but my skills and time aren't the best at the moment.

Seems to have gone quite of this repo, so I'll carry on trying to fix it myself.