diff --git a/src/calibre/gui2/convert/txt_output.py b/src/calibre/gui2/convert/txt_output.py
index 8b2e131ec6..3d35151bb8 100644
--- a/src/calibre/gui2/convert/txt_output.py
+++ b/src/calibre/gui2/convert/txt_output.py
@@ -21,7 +21,7 @@ class PluginWidget(Widget, Ui_Form):
def __init__(self, parent, get_option, get_help, db=None, book_id=None):
Widget.__init__(self, parent,
['newline', 'max_line_length', 'force_max_line_length',
- 'inline_toc'])
+ 'inline_toc', 'markdown_format', 'remove_links'])
self.db, self.book_id = db, book_id
self.initialize_options(get_option, get_help, db, book_id)
diff --git a/src/calibre/gui2/convert/txt_output.ui b/src/calibre/gui2/convert/txt_output.ui
index 9eae5a8115..75eac8f5fc 100644
--- a/src/calibre/gui2/convert/txt_output.ui
+++ b/src/calibre/gui2/convert/txt_output.ui
@@ -6,7 +6,7 @@
0
0
- 400
+ 470
300
@@ -27,7 +27,7 @@
-
- -
+
-
Qt::Vertical
@@ -67,6 +67,20 @@
+ -
+
+
+ Apply Markdown formatting to text
+
+
+
+ -
+
+
+ Remove links (<a> tags) before processing
+
+
+