mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
use fenced code block style for markdown export, closes #2963
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user