how do you correctly quote inside a quote?
I'd say that's a style thing more than a grammar thing. Usually single quotes inside double quotes or vice versa, depending on preference. But grammatically, there's nothing wrong with double quotes inside double quotes.
Personally, of your examples, I think the third looks neatest, leaving out the nested quotes.