lamhieu commited on
Commit
88c7429
Β·
1 Parent(s): 6e481d9

chore: change markdown preview

Browse files
Files changed (1) hide show
  1. docsifer/__init__.py +7 -1
docsifer/__init__.py CHANGED
@@ -332,7 +332,13 @@ def create_main_interface():
332
  # Right Column: Conversion Result Display & Download
333
  with gr.Column():
334
  # Display the result as Markdown
335
- output_md = gr.Markdown(label="Conversion Result (Markdown)")
 
 
 
 
 
 
336
 
337
  # The user can still download the .md file
338
  download_file = gr.File(
 
332
  # Right Column: Conversion Result Display & Download
333
  with gr.Column():
334
  # Display the result as Markdown
335
+ output_md = gr.Textbox(
336
+ label="Markdown Preview",
337
+ lines=30,
338
+ max_lines=50,
339
+ interactive=True,
340
+ show_copy_button=True,
341
+ )
342
 
343
  # The user can still download the .md file
344
  download_file = gr.File(