quasar-ui-qmarkdown icon indicating copy to clipboard operation
quasar-ui-qmarkdown copied to clipboard

Code Syntax Highlighting only Works for JS language

Open Nix41 opened this issue 6 months ago • 0 comments

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:

  • Ubuntu 22.04
  • Browser Chrome
  • Version 127.0.6533.72

Nix41 avatar Aug 04 '24 19:08 Nix41