Skip to content

Render Strings as Markdown

Normally strings returned from code blocks are rendered as plain text.

let str = '*test*';
return str;

*test*

With the engine.markdown.create function, you can render strings as markdown.

let str = '*test*';
return engine.markdown.create(str);

test