Are you thinking of what people call “transclusion” around here?
It enables you to embed text notes into other notes. The syntax is
![[noteA]]
![[noteB]]
where the content of noteA and noteB will show embedded. And of course you can modify noteA and noteB separately.