use fenced code block style for markdown export, closes #2963

pull/255/head
zadam 2022-07-06 21:31:11 +07:00
parent ef49d20470
commit 02affece91
1 changed files with 1 additions and 1 deletions

@ -7,7 +7,7 @@ let instance = null;
function toMarkdown(content) {
if (instance === null) {
instance = new TurndownService();
instance = new TurndownService({ codeBlockStyle: 'fenced' });
instance.use(turndownPluginGfm.gfm);
}