Enhance doc generation support command line option for html or markdown

Running the runner.exe with argument "markdown" should produce single markdown file

Currently HTML output type is the default output type