Local voters heavily favored US Representative Edward Markey in Tuesday’s special election to replace John Kerry in the US Senate, according to figures from the city clerk’s office. About 63 percent of Framingham residents voted for the Democratic candidate, while the Republican Party’s nominee, investment banker and former Navy SEAL Gabriel Gomez, received 36 percent. Twelve Visions Party candidate Richard Heos received 46 votes from Framingham residents; 19 other local ballots cast were write-ins. Statewide, Markey garnered roughly 55 percent, compared with Gomez’s 45 percent. Framingham saw a 30 percent turnout Tuesday, with 11,201 of the town’s 37,381 registered voters showing up at the polls.