format markdown in a shell