diff -r 7622b6330e62 -r 6df711503ec0 eric6/Preferences/ConfigurationPages/EditorFilePage.ui --- a/eric6/Preferences/ConfigurationPages/EditorFilePage.ui Sun Oct 20 11:19:38 2019 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorFilePage.ui Tue Oct 22 19:56:56 2019 +0200 @@ -10,7 +10,7 @@ <height>1622</height> </rect> </property> - <layout class="QVBoxLayout" name="verticalLayout_4"> + <layout class="QVBoxLayout" name="verticalLayout_5"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> @@ -454,7 +454,7 @@ <property name="title"> <string>File Preview</string> </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> + <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QGroupBox" name="groupBox_12"> <property name="title"> @@ -483,50 +483,72 @@ <property name="title"> <string>Markdown Files</string> </property> - <layout class="QGridLayout" name="gridLayout_4"> - <item row="0" column="0"> - <widget class="QLabel" name="label_11"> - <property name="text"> - <string>Extensions:</string> - </property> - </widget> - </item> - <item row="0" column="1" colspan="2"> - <widget class="QLineEdit" name="previewMarkdownExtensionsEdit"> - <property name="toolTip"> - <string>Enter the filename extensions of Markdown files that may be previewed (separated by a space)</string> - </property> - </widget> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <widget class="QLabel" name="label_11"> + <property name="text"> + <string>Extensions:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="previewMarkdownExtensionsEdit"> + <property name="toolTip"> + <string>Enter the filename extensions of Markdown files that may be previewed (separated by a space)</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>HTML Format:</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QComboBox" name="previewMarkdownHTMLFormatComboBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Select the HTML format to be generated</string> + </property> + </widget> + </item> + </layout> </item> - <item row="1" column="0" colspan="3"> - <widget class="QCheckBox" name="previewMarkdownNLtoBreakCheckBox"> - <property name="toolTip"> - <string>Select this to convert a new line character to an HTML &lt;br/&gt; tag.</string> - </property> - <property name="text"> - <string>Convert New Line to HTML Break</string> - </property> - </widget> - </item> - <item row="2" column="0" colspan="2"> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>HTML Format:</string> - </property> - </widget> - </item> - <item row="2" column="2"> - <widget class="QComboBox" name="previewMarkdownHTMLFormatComboBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Select the HTML format to be generated</string> - </property> - </widget> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_5"> + <item> + <widget class="QCheckBox" name="previewMarkdownNLtoBreakCheckBox"> + <property name="toolTip"> + <string>Select this to convert a new line character to an HTML &lt;br/&gt; tag.</string> + </property> + <property name="text"> + <string>Convert New Line to HTML Break</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="previewMarkdownPyMdownCheckBox"> + <property name="toolTip"> + <string>Select to enable the use of the PyMdown extensions</string> + </property> + <property name="whatsThis"> + <string><b>Enable PyMdown Extensions</b> +<p>Select this entry to enable the use of the PyMdown extensions. These have to be installed with <code>pip install pymdown-extensions</code>.</p></string> + </property> + <property name="text"> + <string>Enable PyMdown Extensions</string> + </property> + </widget> + </item> + </layout> </item> </layout> </widget> @@ -658,8 +680,9 @@ <tabstop>deleteFileFilterButton</tabstop> <tabstop>previewHtmlExtensionsEdit</tabstop> <tabstop>previewMarkdownExtensionsEdit</tabstop> + <tabstop>previewMarkdownHTMLFormatComboBox</tabstop> <tabstop>previewMarkdownNLtoBreakCheckBox</tabstop> - <tabstop>previewMarkdownHTMLFormatComboBox</tabstop> + <tabstop>previewMarkdownPyMdownCheckBox</tabstop> <tabstop>previewRestExtensionsEdit</tabstop> <tabstop>previewRestSphinxCheckBox</tabstop> <tabstop>previewRestDocutilsHTMLFormatComboBox</tabstop>