Why not start with what is required for markdown formatting? Then build out from there.