Path to README.md can be passed in as argument

* refine tests
* introduce `readme_path` to the config
* fix the case of codeblock variations which doens't format correct in the
  frontend