CMark does not always do a great job of reporting a useful line number for nodes. We can do better by using the nodes position in the document tree. Implement a better line number getter for Nodes.