My reading is that Luke tells us that Mary's father was Heli while Matthew gives the geneology of Joseph.
There is no reason to question that Mary was present in the synagogue when Jesus read from Isaiah 61. Would she not have reflected on such passages already, wondering about their Messianic implications?
Interesting speculation. I had never thought of that. It brings to mind that beautiful Christmas song, "Mary Did You Know". .
Dear Friend, here is an explanation of this.
Commentary from Douhay-Rheims (an "authorized" translation)
23 "Who was of Heli"... St. Joseph, who by nature was the son of Jacob, (St. Matt. 1. 16,) in the account of the law, was son of Heli. For Heli and Jacob were brothers, by the same mother; and Heli, who was the elder, dying without issue, Jacob, as the law directed, married his widow: in consequence of such marriage, his son Joseph was reputed in the law the son of Heli.
See how that works? We see genealogies of two lines of the Stepparents of Jesus, while there is none given for his maternal line (you'd think these Marialogists would be falling all over a lineage of Mary). IMO, distancing Jesus from his Jewish roots must have been important to someone, somewhere along the line. A child is Jewish based on his mother, not his father.
Elizabeth was married to a Priest. Were Levites allowed to marry outside of their line? See Levi in Heli's line? Would Heli's "legal adoption" of Joseph have any possible connection, be something needed for a Levite to marry out of the line? I don't know very much about Jewish law & tradition, but I know that a child's mother is the one that determines whether or not a child is Jewish.
“Mary Did You Know” has to be one of the prettiest songs ever!! I listen to it all year long!