Structure and format markdown documents.