Framer
Framer copied to clipboard
Comment color coding breaks when comment follows String and contains quote(s)
And some other oddity.

Heh, that's a bug :) /cc @onnlucky
Yeah, but it is a known issue, it shows the limits of our current highlighting strategy. If it helps, it will not break if one side uses single quotes, and the other side double quotes, e.g. this does show up correctly: "123" # '123'
If it matters, this came up when I was making instructional materials and needed to distinguish between variables, key words, and strings. Simple example:
word = "cat" # 'word' is a variable that contains the string "cat".