I didn't know until recently what macaroni referred to in Yankee Doodle
"stuck a feather in his cap and called it macaroni"
During the 1770s there emerged a new type of fashionable fellow: the Macaroni, whose style was frequently and easily lampooned by cartoonists and the media.
https://www.historytoday.com/miscell...meet-macaronis
https://en.wikipedia.org/wiki/Macaroni_(fashion)