mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
Add newline after caption (#12276)
This commit is contained in:
@@ -441,6 +441,13 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges {
|
||||
return '\n```\n' + node.textContent + '\n```\n';
|
||||
}
|
||||
});
|
||||
this.turndownService.addRule('caption', {
|
||||
filter: 'caption',
|
||||
replacement: function (content, node) {
|
||||
return `${node.outerHTML}
|
||||
`;
|
||||
}
|
||||
});
|
||||
this.turndownService.addRule('span', {
|
||||
filter: function (node, options) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user