I took it as he literally wrote like that, from this line,
> You can see a page of Da Vinci’s notebook above but be warned. Even if you are conversant in 16th century Italian, Da Vinci wrote everything in mirror script.
There's evidence that he was left-handed, or at least did a lot of his work with the left hand. He may have found it more convenient to write in that direction so as not to smudge the ink, especially if he wrote quickly.