cloudacy / vue-markdown-render

A simple markdown parser for Vue using markdown-it.
MIT License
79 stars 10 forks source link

it's ok to transform markdown, but style...emm,it's nice,thank you! #14

Closed YuukiJyoudai closed 9 months ago

p-kuen commented 1 year ago

Can you please explain the problem in the issue description. Else we have to close the issue. Thanks.

TheVaan commented 1 year ago

Hey there!

Maybe it's the same problem I'm facing right now:

I've markup text containing links. I want to underline the links so I added a css class to a

around the VueMarkdown component. But the links aren't underlined.

<script setup>
import VueMarkdown from "vue-markdown-render";
</script>

<style scoped>
.download-section a {
  text-decoration: underline;
}
</style>

<template>
  <div class="download-section">
    <VueMarkdown :source="product.downloads" />
  </div>
</template

Anything I'm not seeing?

AndersonBY commented 1 year ago

Remove the scoped from