quasarframework / quasar-ui-qmarkdown

A Quasar UI App Extension to display inline markdown
https://quasarframework.github.io/quasar-ui-qmarkdown/
MIT License
157 stars 29 forks source link

Code Syntax Highlighting only Works for JS language #396

Open Nix41 opened 3 months ago

Nix41 commented 3 months ago

Describe the bug Code Blocks are only show syntax highlighting when the language is javascript/js

To Reproduce Steps to reproduce the behavior:

  1. Go to Documentation Example Editor
  2. Input:
    def factorial(n):
    """Calculate the factorial of a number using recursion."""
    if n == 0:
        return 1
    else:
        return n * factorial(n - 1)

Expected behavior Syntax highlighting for python code

Screenshots image image image

I tried around 10 languages

Desktop: