change toMarkdown() to convert() (which makes more sense)