For some time, Gell-Mann was undecided on an actual spelling for the term he intended to coin, until he found the word quark in James Joyce’s book Finnegans Wake:
–Three quarks for Muster Mark!
Sure he hasn’t got much of a bark
And sure any he has it’s all beside the mark.
— James Joyce, Finnegans Wake