Add markdown and supporting functions