98 Preferences.getEditor("PreviewMarkdownNLtoBR")) |
98 Preferences.getEditor("PreviewMarkdownNLtoBR")) |
99 self.previewMarkdownPyMdownCheckBox.setChecked( |
99 self.previewMarkdownPyMdownCheckBox.setChecked( |
100 Preferences.getEditor("PreviewMarkdownUsePyMdownExtensions")) |
100 Preferences.getEditor("PreviewMarkdownUsePyMdownExtensions")) |
101 self.previewMarkdownMathJaxCheckBox.setChecked( |
101 self.previewMarkdownMathJaxCheckBox.setChecked( |
102 Preferences.getEditor("PreviewMarkdownMathJax")) |
102 Preferences.getEditor("PreviewMarkdownMathJax")) |
|
103 self.previewMarkdownMermaidCheckBox.setChecked( |
|
104 Preferences.getEditor("PreviewMarkdownMermaid")) |
103 index = self.previewMarkdownHTMLFormatComboBox.findText( |
105 index = self.previewMarkdownHTMLFormatComboBox.findText( |
104 Preferences.getEditor("PreviewMarkdownHTMLFormat")) |
106 Preferences.getEditor("PreviewMarkdownHTMLFormat")) |
105 self.previewMarkdownHTMLFormatComboBox.setCurrentIndex(index) |
107 self.previewMarkdownHTMLFormatComboBox.setCurrentIndex(index) |
106 |
108 |
107 self.previewRestExtensionsEdit.setText( |
109 self.previewRestExtensionsEdit.setText( |
185 "PreviewMarkdownUsePyMdownExtensions", |
187 "PreviewMarkdownUsePyMdownExtensions", |
186 self.previewMarkdownPyMdownCheckBox.isChecked()) |
188 self.previewMarkdownPyMdownCheckBox.isChecked()) |
187 Preferences.setEditor( |
189 Preferences.setEditor( |
188 "PreviewMarkdownMathJax", |
190 "PreviewMarkdownMathJax", |
189 self.previewMarkdownMathJaxCheckBox.isChecked()) |
191 self.previewMarkdownMathJaxCheckBox.isChecked()) |
|
192 Preferences.setEditor( |
|
193 "PreviewMarkdownMermaid", |
|
194 self.previewMarkdownMermaidCheckBox.isChecked()) |
190 Preferences.setEditor( |
195 Preferences.setEditor( |
191 "PreviewMarkdownHTMLFormat", |
196 "PreviewMarkdownHTMLFormat", |
192 self.previewMarkdownHTMLFormatComboBox.currentText()) |
197 self.previewMarkdownHTMLFormatComboBox.currentText()) |
193 |
198 |
194 Preferences.setEditor( |
199 Preferences.setEditor( |