I’ve picked up the habit of writing all of my notes in Markdown as of late, but I’ve noticed that different text editors seem to format my notes differently. This is fine, but I would like a tool (preferably a command line tool, but an editor plugin is fine too) which can take a file and let me know if it’s properly formatted CommonMark markdown.
I’ve searched for this, but all the results I’ve found have been more like test suites for people writing markdown renderers to ensure that their code can handle the full range of the markdown specification. What I’m looking for is rather the opposite – I want something that interprets the CommonMark spec strictly and then lets me know if what I’m writing passes a stringent interpretation of the specification.
Does such a tool exist?