In addition to the "dumb mistake log", see if these things can be automated; for your Markdown example, set up your editor to format / fix issues automatically, e.g. using Markdownlint. Use the available tooling; take some time to tweak your editor, that kinda thing.