python – Discord.py : How to keep n in args when sending messages

I’m trying to create a command that format your code on discord with a given language,

by sending the formated string :

f"```{language}n{code}n```"

The fonction prototype is :

def format(ctx, language, *code)

And i’m typing on discord for exemple :

!format c int function(int x)
{
  return x;
}

But when i tryed to print out the code arg, there is no n in the list and the bot message is on a single line.

I also tryed with quotation marks around my message, and this worked for keeping n but if my code contain another quotation mark it end the code arg, and throw an error for the remaining part.

Is there a way to get the complete message including newlines ?