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, UMD versions above 1.0.27 are broken

    [v1] App Extensions
    2
    6
    124
    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.
    • P
      Pablo74 last edited by Pablo74

      UMD versions of QMarkdown, above 1.0.27 (i.e. 1.027 -> 1.0.31) are broken and don’t work. I have been tested

      <q-markdown>
      ::: info
      text 
      :::
      
      ::: info
      here be **dragons**
      with a `token`
      :::
      </q-markdown>
      

      It doesn’t render markdown.
      The problem is inside umd js code, it requires Prism file/module

      const Fr=require("prismjs");
      

      Chrome developer console says:

      Uncaught ReferenceError: require is not defined
      at index.umd.min.js:6
      at index.umd.min.js:6
      at index.umd.min.js:6

      Versions 1.0.27 and below work well.

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

        @Pablo74 Thanks for bringing this to my attension. It would have been better, though, to raise an issue on the github repo so it had more visibility.

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

          https://github.com/quasarframework/quasar-ui-qmarkdown/issues/122

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

            Fixed in v1.0.33

            1 Reply Last reply Reply Quote 0
            • P
              Pablo74 last edited by

              Thank you for fix!
              Yeah, I know github issue is better way; have no account on github yet, so… I used this forum.

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

                If you don’t have a github account, next time tag me so I see it next time I am on forums @Pablo74

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