liaoch commited on
Commit
d01fcae
·
1 Parent(s): 5c70d5b

Docs: Add footnote about full-featured version with zoom and pan controls

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -131,5 +131,16 @@ with gr.Blocks(title="Mermaid Diagram Renderer", theme=gr.themes.Soft()) as demo
131
  outputs=[rendered_image, output_image, status_text]
132
  )
133
 
 
 
 
 
 
 
 
 
 
 
 
134
  if __name__ == "__main__":
135
  demo.launch()
 
131
  outputs=[rendered_image, output_image, status_text]
132
  )
133
 
134
+ gr.Markdown(
135
+ """
136
+ ---
137
+ <sub>
138
+ This version is a simplified version of <a href="https://github.com/chunhualiao/mermaid-rendering" target="_blank">https://github.com/chunhualiao/mermaid-rendering</a>.<br>
139
+ The full version has more control of previewed diagrams, such as zoom and pan operations.
140
+ </sub>
141
+ """,
142
+ elem_id="footnote",
143
+ )
144
+
145
  if __name__ == "__main__":
146
  demo.launch()