-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
I think this might be variable and hard to pin down, but for some reason, the code in the instructions is sometimes off by one line. It's typically that there's a trailing new line, but it ends up throwing off the highlighting as a result. This is an issue in prod and staging.
Steps to repro
- Visit https://projects.raspberrypi.org/en/projects/editor-hello-world/editor
- Go to step 3
- The highlighting is on the comment instead of the code , the line numbers disappear one line before the code
Expected behaviour
The line numbers and highlighting match up with the lines of code.
Note this might be because:
- Use of emojis throw off the line height
- Random whitespace new lines added at the top of the code block
Screenshots

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working