Improve math lib docs
Un-markdown docs when outputting to the cmdline