No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    QMarkdown v1.0.24 has been released!

    [v1] App Extensions
    2
    4
    137
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hawkeye64
      Hawkeye64 last edited by

      https://github.com/quasarframework/quasar-ui-qmarkdown/releases/tag/v1.0.24

      • fix(app-ext): css needs importing
      1 Reply Last reply Reply Quote 0
      • K
        keechan last edited by keechan

        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!

        1 Reply Last reply Reply Quote 0
        • Hawkeye64
          Hawkeye64 last edited by

          Yes, you would have to override the css. You can look at dev tools to see which css classes you want to target

          K 1 Reply Last reply Reply Quote 0
          • K
            keechan @Hawkeye64 last edited by

            @Hawkeye64 thank you so much!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post