brown-ccv / ccv-website-nuxt

CCV Website 2.0 - Build with Nuxt.js and Disco Inclusive Design System
2 stars 0 forks source link

Consider using component in Markdown? #19

Open mirestrepo opened 3 years ago

mirestrepo commented 3 years ago

Some markdown items get their own special <template> for instance, open positions... Instead of handling it in the vue template, Nuxt-content allows for global components to be invoked from the markdown. We should evaluate pro/cons of this.

Few that come to my mind

pro:

cons:

mcmcgrath13 commented 3 years ago

I think this would be good for simple styled items like buttons, but I think expanding it much beyond that might make the line between comment and code a bit iffy.