Added markdown function