Cross-linking component
Closed this issue · 1 comments
eepMoody commented
A component or directive should exist that allows us to link to an item directly via its slug. (eg. fireball
or necklace-of-fireballs
.
This will (I think) mean generating an index of all the slugs and of what page they should map back to.
I'm imagining something like <srd-link slug="fireball">Fireball</srd-link>
that extends the nuxt-link component, which we could add into the Markdown files.
calumbell commented
If nobody is currently working on this i'd like to have a go! Any further thoughts how you might want the tags to look in Markdown? For the component itself, I was imagining a nuxt-link
with a pop-up that appears when you hover with a preview of the linked content.