Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
301 views
in Technique[技术] by (71.8m points)

vue.js - Vuetify & markdown rendering : adapt md rendering html to vuetify styling

I'm working on a vue / vuetify project and want to manage some text in separate markdown files. I've installed vue-markdown to this effect (and prism for code highlighting).

However I'm blocking on an issue : markdown file will be compiled as classic html (h1, h2, ...) whereas some other text in my project follows the vuetify syntax (h3 = <p class="text-h3 ).

Is there any way so that the rendering of the markdown files matches the vuetify syntax ? (it seems complicated to me as must be trasformerd as but maybe you will have an idea.

PS : md is rendered via webpack raw-loader

Thanks !

question from:https://stackoverflow.com/questions/65933921/vuetify-markdown-rendering-adapt-md-rendering-html-to-vuetify-styling

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...