"link" refers to two different things in Jelly: each line (separated by newlines) is a link, and each chain in each link (line) is made up of links made up of atoms and quicks
@Fmbalbuena If that's the entire chain, it'll do (NDN)M. Otherwise, if it's part of ...MNDNM..., it's something called an "unparseable nilad", which has weird behaviour. If it's part of ...DNDNM, then it becomes ...(DN)(DN)M...