write README in markdown
if mark has no parameter, use dirname as mark