format date helper using moment.js library
format markdown helper using showdown.js