Py-Script Code Highlighting

I am currently working on an HTML file that uses Python. I use the <pyscript> tag to “run” a python code block inside the the file. However, there is zero highlighting for it. Is there an extention that has highlighting for python code blocks in HTML files?

2 Likes

You could maybe create a language server that handles that. Also, I don’t think the extensions API supports syntax highlighting.

2 Likes

okay. . ? Also, what’s a “language server”?

2 Likes

The thing that usually handles the highlighting and suggestions I believe.

1 Like