Several of the Danish politicians used words like ‘hope' and ‘cooperation' in social media reactions to the French election.
Others expressed relief at what they said was the best result for a united Europe, after Macron defeated far-right Front National candidate Marine Le Pen.
"We can achieve more together than on our own. Looking forward to our cooperation," wrote Prime Minister Lars Løkke Rasmussen on Twitter.
Congratulations Emmanuel Macron! We must strengthen free trade, growth, employment and security in the EU and continue our military cooperation," wrote foreign minister Anders Samuelsen.
The nationalist, EU-sceptic Danish People's Party's foreign policy spokesman Søren Espersen was also quick to congratulate Macron on Twitter, writing that he hoped the election of the 39-year-old pro-EU centrist would be "of benefit for the great, admirable French people."
Herfra tillykke til Emmanuel Macron. Måtte valget af ham blive til glæde og velsignelse for det store, beundringsværdige franske folk.— Søren Espersen (@espersendf) May 7, 2017
But the leader of Espersen's party , Kristian Thulesen Dahl, did not hide his regret at the defeat of fellow populist Le Pen, writing on Facebook that the EU's leadership had "got its man elected".
"Now they are setting up for more EU and less nation-state. As well as a tough position against the British, so that they feel punished for leaving the EU," Dahl added.
Denmark's opposition parties were broadly positive in their reactions to Macron's victory, with the Social Liberal (Radikale Venstre) leader Morten Østergaard writing the France had chosen "the future instead of the past. Hope instead of fear. Cooperation instead of isolation. Macron instead of Le Pen."
Uffe Ulbæk, leader of the green Alternative party, also expressed his enthusiasm for the French result.
I aften har Frankrig valgt fremtiden fremfor fortiden. Håbet fremfor frygten. Samarbejdet fremfor isolation. Macron fremfor Le Pen. Merci!— Morten Østergaard (@oestergaard) May 7, 2017
Nick Hækkerup, foreign policy spokesperson with the Social Democrats, Denmark's largest party in opposition, wrote that the best thing about the outcome in France was the "victory over nationalist populism" that had seen success elsewhere in Europe and the United States.
Det vigtigst ved det franske præsidentvalg er, at Macrons sejr er en sejr over national populismen som har matret USA og Europa. #dkpol— Nick Hækkerup (@NHaekkerup) May 7, 2017