Creating these blue and yellow boxes to handle call outs

Hi guys! How do I create these yellow and blue callouts boxes using markdown? I read the documentation and was unable to see where this might be.

Also when specifying buttons and pages when writing our user stories we have been using the code icon, which breaks out that element and reads well, I noticed the below grey callouts and wonder how they are achievable in markdown?