As title says, String formatting using Vue3-markdown-it
library is not working with Vuetify 3 styles
.
Just to find the root cause, As part of reproduceable demo, Below codesandbox links has been created :
Without Vuetify 3 Stylesheet - Working as per the expectation
With Vuetify 3 Stylesheet - Not working
After deep dive into the root cause analysis, I got to know that Vuetify is overriding the browser's default and the below global style from Vuetify is the victim.
* {
padding: 0;
margin: 0;
}
If I disable these style or assign a revert
value to both the properties, It works fine for markdown
elements but at the same time it impact another component of Vuetify.
Can someone please help me by suggesting a workaround or fix to get rid from this problem ?