Note-taking in general, whether on paper or digitally, is pretty bad at improving retention [0]. There are far better techniques for furthering that goal, if that's the target; most obviously, active recall testing & distributed practice. Practically, most people use spaced repetition software like Anki [1] for that.
[0] see table on page 45 in https://pcl.sitehost.iu.edu/rgoldsto/courses/dunloskyimprovi...
[1] https://apps.ankiweb.net/