Jakarta: Vote for the Muslim candidate in the Jakarta gubernatorial election on Wednesday, according to the meme shared endlessly on Facebook, and you are guaranteed entry to heaven.

It's a spoof - typical of Indonesians' humour and irreverence on social media - but it demonstrates the extent to which religion has become politicised in the fiercest and most heavily guarded election in the capital's history.

The Christian and ethnically Chinese incumbent Basuki "Ahok" Tjahaja Purnama, who is simultaneously on trial for allegedly insulting Islam, will face off against his Muslim rival Anies Baswedan, a former education and culture minister.

The heaven meme satirises some of the ugly sectarianism that has marred the election campaign. Banners have been erected throughout the capital urging voters not to elect a kafir (unbeliever) and even threatening to deny burial rites to those who vote for Ahok.