QMarkdown v1.0.24 has been released!
-
https://github.com/quasarframework/quasar-ui-qmarkdown/releases/tag/v1.0.24
- fix(app-ext): css needs importing
-
Hey @Hawkeye64! Thank you so much for the
q-markdown
. It is very helpful!I have one question though - how can I use CSS inside my markdown file?
Currently, it looks like I can import my external css by adding this on top of my markdown:<link href="./src/css/main.scss" rel="stylesheet"></link>
But how can I use its classes?
I also tried using inline css like:
`some text here` {color: blue}
But it just prints out {color: blue} in plain text.
I also tried doing this:
### Start the app in development mode (hot-code reloading, error reporting, etc.) <span markdown="1" class="font-red" > ```bash quasar dev``` </span>
But with this, the markdown is overwritten and just prints the whole thing as red text.
Appreciate your help! Thanks!
-
Yes, you would have to override the css. You can look at dev tools to see which css classes you want to target
-
@Hawkeye64 thank you so much!