Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Syntax Highlighting only Works for JS language #396

Open
Nix41 opened this issue Aug 4, 2024 · 0 comments
Open

Code Syntax Highlighting only Works for JS language #396

Nix41 opened this issue Aug 4, 2024 · 0 comments

Comments

@Nix41
Copy link

Nix41 commented Aug 4, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant