Use commas to set off direct quotations from the rest of the sentence.
"I know you did it " the detective accused the murderer "and I can prove it!"
"Please remember to watch the gap" the conductor warned.