updating markdown helper to initialize markdown after the options have been initialized