Add markdown translator function that appends DOM with appropriate element