intertextuality

noun

The idea that a given text is a response to what has already been written, be it explicit or implicit.

noun

The reference to another separate and distinct text within a text.