Add markdown support, fixes #21