Converted asMarkdown method to a property.