Nymbo commited on
Commit
29070b3
1 Parent(s): 6854b4a

adding lots of new options

Browse files
Files changed (1) hide show
  1. app.py +19 -4
app.py CHANGED
@@ -1,10 +1,25 @@
1
  import gradio as gr
2
 
3
  mf={
4
- "Heading1":"# $INP",
5
- "Heading2":"## $INP",
6
- "Heading3":"### $INP",
7
- "Bold":"**$INP**"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  }
9
  def upd(inp,cur_l,cur_d,format):
10
  if not cur_l:
 
1
  import gradio as gr
2
 
3
  mf={
4
+ "Heading 1":"# $INP",
5
+ "Heading 2":"## $INP",
6
+ "Heading 3":"### $INP",
7
+ "Heading 4":"#### $INP",
8
+ "Heading 5":"##### $INP",
9
+ "Heading 6":"###### $INP",
10
+ "Bold":"**$INP**",
11
+ "Italics":"*$INP*",
12
+ "Strikethrough":"~~$INP~~",
13
+ "Highlight Text":"==$INP==",
14
+ "Bullet Point":"- $INP",
15
+ "Inline Code":"`$INP`",
16
+ "Code Blocks":"```$INP```",
17
+ "Block Quote":"> $INP",
18
+ "Checkbox (Unchecked)":"- [ ] $INP",
19
+ "Checkbox (Checked)":"- [x] $INP",
20
+ "Math Blocks":"$$ $INP $$",
21
+ "Add Emoji":":$INP:",
22
+ "Divider Line":"---",
23
  }
24
  def upd(inp,cur_l,cur_d,format):
25
  if not cur_l: