From dd9ac2e3622a7e7041dbeb0bdce29e5d2cb97821 Mon Sep 17 00:00:00 2001 From: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com> Date: Tue, 15 Sep 2020 22:50:46 -0700 Subject: [PATCH] Add heasdingStyle atx option (#12286) (#12338) --- .../contrib/notebook/browser/cellViews/textCell.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts b/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts index 81f374e53a..516a23b329 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/textCell.component.ts @@ -432,7 +432,7 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges { } private setTurndownOptions() { - this.turndownService = new TurndownService({ 'emDelimiter': '_', 'bulletListMarker': '-' }); + this.turndownService = new TurndownService({ 'emDelimiter': '_', 'bulletListMarker': '-', 'headingStyle': 'atx' }); this.turndownService.keep(['u', 'mark']); this.turndownService.use(turndownPluginGfm.gfm); this.turndownService.addRule('pre', {