Closed pmac-dev closed 4 months ago
Reproducible on the demo as well:
A PR would be very welcome, but I'm closing this as a dup of #2500... we're very open to these types of improvements for all grammars, but we don't need 189 individual issues.
Ruby, Wren, and other grammars have some rules that could be examined if you wanted to work on a PR...
Describe the issue Some parts of this Python code are not highlighted.
Which language seems to have the issue? Python
Are you using
highlight
orhighlightAuto
?highlightAll()
Sample Code to Reproduce Please check this jsfiddle:
https://jsfiddle.net/dz32yks9/
or this screenshot, html+HighlightJS:
Expected behavior Functions, variables and constants should be highlighted too, just like Github or VSCode:
Additional context