updated to call markdown.core