sed insert text at particular line

I know that

sed -n '12p' file

will print line 12 but how might I insert text to a specified line?

thanks

sed '3 i insert me at line 3 please' your_file

I hope a bit modification to the above solution is needed.

some thing like this :

sed '3i\
This is the third line' file_name.txt