src/renderers/markdown.js
function render(processor, source) {
	try {
		return processor.processSync(source).contents;
	} catch (exception) {
		const error = `Error while rendering Markdown: ${exception.message}`;
		console.error(error);
		return errorInlineHtml(error).toString();
	}
}
function render(processor, source) {
	try {
		return processor.processSync(source).contents;
	} catch (exception) {
		const error = `Error while rendering Markdown: ${exception.message}`;
		console.error(error);
		return errorInlineHtml(error).toString();
	}
}
Render Markdow using given processor.

@param {Object} processor Remark processor.
@param {string} source Source Markdown.
@return {string}