mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 06:54:44 +08:00
use fenced code block style for markdown export, closes #2963
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue