Extract markdown adapter
Add support for command line executable
Fix bug in command line
Add flexibility, documentation for adapters