Syntax highlighting not working correctly
IvanBila opened this issue ยท 6 comments
Summary
As a side effect of #46, the current documentation syntax highlighting is not working as expected some parts get syntax highlighting but all that include let are not, I've attached the screenshot below for reference.
Preview
Thanks @IvanBila it looks like our syntax highlighter is not ready for modern JavaScript, I will follow up with the documentation team and see if we can update it. Hopefully it's not a hard change to make.
Hopefully it's not a hard change to make.
Well turns out it's an extremely hard change to make because of silly internal Google things. But I am working on it.
@samtstern Is it possible to maybe revert the commit that uses let until this issue is fixed? let me know what is your opinion.
@samtstern I also agree on that, talking about nice code, (OFF TOPIC)I wanted to add async/await as an extra part of the docs(maybe at the bottom), where I just show how to do the same thing using async await. What is your opinion on this?
