improve compatibility with github flavored markdown

fixes #75
relates to #65
revise solution to #18