mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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';
|
return '\n```\n' + node.textContent + '\n```\n';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
this.turndownService.addRule('caption', {
|
||||||
|
filter: 'caption',
|
||||||
|
replacement: function (content, node) {
|
||||||
|
return `${node.outerHTML}
|
||||||
|
`;
|
||||||
|
}
|
||||||
|
});
|
||||||
this.turndownService.addRule('span', {
|
this.turndownService.addRule('span', {
|
||||||
filter: function (node, options) {
|
filter: function (node, options) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user