I came across a sentence structure similar to the below, and I am wondering if the sentence should end with a question mark or a period.
How did you do that, she wondered?
First of all, I would have written "She wondered, how did you do that?" instead. (The "How did you do that" part was NOT a direct quotation, it was the rewording of the author.)
However, if I have to choose one, I would put a period just because if it ends with a question mark I would automatically read the ending with a raised intonation.
Putting a question mark after "that," sounds right, but seems wrong because a question mark is considered as an ending mark.
What would be an appropriate punctuation here?