Can I change the syntax recognition inside the tag from javascript to python?
<script type="text/python">
def foo():
return 'Hello!'
</script>
I use Brython for frontend, and it would be very convenient for me.
Looks like this is a known issue: https://github.com/microsoft/vscode/issues/25920
The bug report is from 3 years ago but still has not been fixed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.