mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
Add setting to customize notebook markdown preview line height (#13923)
* add md preview line height settings * remove if condition * listen for configuration change * change setting description * only change line height outside of edit mode * set minimum line height to 1 * combine ondidchangeconfiguration callbacks
This commit is contained in:
@@ -231,6 +231,12 @@ configurationRegistry.registerConfiguration({
|
||||
'default': false,
|
||||
'description': localize('notebook.saveConnectionName', "(Preview) Save connection name in notebook metadata.")
|
||||
},
|
||||
'notebook.markdownPreviewLineHeight': {
|
||||
'type': 'number',
|
||||
'default': 1.5,
|
||||
'minimum': 1,
|
||||
'description': localize('notebook.markdownPreviewLineHeight', "Controls the line height used in the notebook markdown preview. This number is relative to the font size.")
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user