I'm looking to display some documentation in my Vue application. The documentation is in markdown format, so I have already integrated the markdown-it-vue plugin.
However, I've run into an issue where the plugin doesn't support vuetify dark mode. Is there a way to enable this feature? Below is a simple example of what I want to achieve: highlighting the text in white and setting the table background to gray. It's possible that adjustments need to be made to the markdown-it-vue.css file, but I'm not sure how to go about it. Any guidance would be greatly appreciated!
const vm = new Vue({
el: "#app",
data() {
return {
content: "This needs to be white\n| Item | Price | # In stock |\n|--------------|-----------|------------|\n| Juicy Apples | 1.99 | *7* |\n| Bananas | **1.89** | 5234 |"
}
}
})
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="106665756479766950213e223e22">[email protected]</a>/dist/vuetify.min.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="56202333223f302f166778647864">[email protected]</a>/dist/vuetify.min.js"></script>
<script src="https://unpkg.com/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d3beb2a1b8b7bca4bdfebaa7fea5a6b693e2fde2fde5">[email protected]</a>/dist/markdown-it-vue.umd.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2d404c5f4649425a43004459005b58486d1c031c031b">[email protected]</a>/dist/markdown-it-vue.css">
<div id="app">
<v-app :dark="true">
<markdown-it-vue :content="content"></markdown-it-vue>
</v-app>
</div>