Intertextuality

The relationship between texts, where one text alludes to or references another.