mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 10:22:36 +10:00
fix: markdown math import (#529)
* fix: markdown math block import * fix: block and inline math import * cleanup
This commit is contained in:
@ -117,7 +117,7 @@ function mathBlock(turndownService: TurndownService) {
|
||||
);
|
||||
},
|
||||
replacement: function (content: any, node: HTMLInputElement) {
|
||||
return `\n$$${content}$$\n`;
|
||||
return `\n$$\n${content}\n$$\n`;
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user