markdown converter and template in static html file